CVE-2025-29087
Last modified
CVE-2025-29087 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sqlite | Sqlite | >= 3.44.0, < 3.49.1 |
References
- https://gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62aThird Party Advisory
- https://sqlite.org/releaselog/3_49_1.htmlRelease Notes
- https://www.sqlite.org/cves.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-29087?
How severe is CVE-2025-29087?
How do I fix CVE-2025-29087?
Are you affected by CVE-2025-29087?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
