All vulnerabilities

Servers and applications

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.

Severity
High 7.5
Published
7 Apr 2025
Last changed
15 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.49.1
Sources
NVD

Affected software

SoftwareAffected versions
SQLiteServers and applications · cpe:a:sqlite:sqlite
  • From 3.44.0 before 3.49.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-29087
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-29087