Application crash via concat_ws integer overflow
Published Apr 7, 2025 · Updated Apr 15, 2025
Heap buffer overflow in SQLite 3.44.0 through 3.49.0 allows attackers to crash the host process via a crafted concat_ws() call. The concat_ws() result-size calculation multiplies the separator length without first widening it, so a separator larger than 2 MB and many arguments can overflow the integer and produce an undersized malloc allocation followed by an out-of-bounds write. Exploitation requires control over executable SQL and the first concat_ws() argument; applications that neither execute untrusted SQL nor call concat_ws() do not expose this path.
Summary
What happened
Heap buffer overflow in SQLite 3.44.0 through 3.49.0 allows attackers to crash the host process via a crafted concat_ws() call. The concat_ws() result-size calculation multiplies the separator length without first widening it, so a separator larger than 2 MB and many arguments can overflow the integer and produce an undersized malloc allocation followed by an out-of-bounds write. Exploitation requires control over executable SQL and the first concat_ws() argument; applications that neither execute untrusted SQL nor call concat_ws() do not expose this path.
The record
- CVE
- CVE-2025-29087
- Published
- Apr 7, 2025
- Updated
- Apr 15, 2025
- Vendor
- SQLite
- Product
- SQLite
- Classifications
- CWE-190
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Apr 7, 2025CVE publishedPublication date reported by the CVE source.
- Apr 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.44.0 <3.49.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo