CVE-2025-29087 Details
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.
An integer overflow vulnerability has been identified in SQLite versions 3.44.0 through 3.49.0 prior to 3.49.1. The issue arises in the concat_ws() SQL function, where an attacker can control the separator argument. If the separator is a large string (over 2MB), the integer overflow occurs while calculating the size of the result buffer. This can lead to memory being written beyond the allocated space, causing potential memory corruption.
Users can upgrade to SQLite version 3.49.1, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-994087.html | siemens-SADP | |
| https://gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a | [email protected] | Third Party Advisory |
| https://sqlite.org/releaselog/3_49_1.html | [email protected] | Release Notes |
| https://www.sqlite.org/cves.html | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sqlite sqlite | >= 3.44.0, < 3.49.1 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2025 | Initial Analysis | [email protected] |
| Apr 15, 2025 | CVE Modified | CISA-ADP |
| Apr 14, 2025 | CVE Modified | [email protected] |
| Apr 8, 2025 | CVE Modified | CISA-ADP |
| Apr 7, 2025 | New CVE Received | [email protected] |