Vulnerabilities · 2025 · Sqlite
CVE-2025-29087
Sqlite vulnerability
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 products
Sqlite. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sqlite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.sqlite.org/cves.html · Vendor Advisory
- gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a · Third Party Advisory
- sqlite.org/releaselog/3_49_1.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-994087.html
- nvd.nist.gov/vuln/detail/CVE-2025-29087
- cve.org/CVERecord?id=CVE-2025-29087
More vulnerabilities in Sqlite products
CVE-2025-29088CVE-2025-7458CVE-2025-6965CVE-2025-3277CVE-2024-0232CVE-2023-7104CVE-2022-46908CVE-2022-35737All 62
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.