# CVE-2025-29087: In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concatws() SQL function can cause memory to be written beyond the end of a malloc-alloca…

- Severity: Low 3.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-04-07T00:00:00.000Z
- Modified: 2026-10-15T02:17:47.313Z
- Also known as: BIT-SQLITE-2025-29087
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- SQLite SQLite: from 3.44.0 before 3.49.1
- sqlite (Bitnami): from 3.44.0 before 3.49.1

## Every score

- mitre: CVSS:3.1 3.2 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.sqlite.org/cves.html> (advisory, vendor-advisory)
- <https://gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a> (advisory, third-party-advisory)
- <https://sqlite.org/releaselog/3_49_1.html> (article, release-notes)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-994087.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29087> (web)
- <https://sqlite.org/src/info/498e3f1cf57f164f> (web)

## Sources

- CVE List: [CVE-2025-29087](https://www.cve.org/CVERecord?id=CVE-2025-29087), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-29087](https://nvd.nist.gov/vuln/detail/CVE-2025-29087), Public domain, modified 2026-10-15
- Bitnami Vulnerability Database: [BIT-SQLITE-2025-29087](https://osv.dev/vulnerability/BIT-SQLITE-2025-29087), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-29087 · Whole record: https://cve.day/CVE-2025-29087.json · Rebuilt by cve.day 2026-11-25T22:58:56.165Z
