CVEvulnerability
CVE-2025-29087
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-04-07
- Last modified
- 2026-10-15
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 3.2 LOW — CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-190
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.
Affected configurations
• sqlite sqlite (>= 3.44.0 < 3.49.1)
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a Third Party Advisory
- https://sqlite.org/releaselog/3_49_1.html Release Notes
- https://www.sqlite.org/cves.html Vendor Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-994087.html cert-portal.siemens.com