Integer overflow in Sqlite
CVE-2025-29087
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.2 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.005, 45.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Sqlite — versions 3.44.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (adegoodyer/kubernetes-admin-toolkit, ARPSyndicate/cve-scores, hussienzietoon/FastAPI-app-with-Docker, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.sqlite.org/cves.html (Vendor Advisory)
- gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a (Third Party Advisory)
- sqlite.org/releaselog/3_49_1.html (Release Notes)
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-994087.html