Description
In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.
CVSS Metrics
- Vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
- Attack Vector
- local
- Complexity
- high
- Privileges
- none
- User Action
- none
- Scope
- changed
- Confidentiality
- none
- Integrity
- none
- Availability
- low
- Weaknesses
- CWE-190CWE-190
Metadata
- Primary Vendor
- SQLITE
- Published
- 4/7/2025
- Last Modified
- 4/30/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
sqlite : sqlite
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.