# CVE-2025-3277: An integer overflow can be triggered in SQLite’s concatws() function.

- Severity: Medium 6.9 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA: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): 1.25%, higher than 70% of CVEs (2026-12-01)
- Published: 2025-04-14T16:50:48.902Z
- Modified: 2026-10-15T02:18:04.643Z
- Also known as: BIT-SQLITE-2025-3277
- Weaknesses: CWE-122, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.

(As written by CVE List.)

## Affected

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

## Every score

- Google: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://sqlite.org/src/info/498e3f1cf57f164f> (fix, patch)
- <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-3277> (web)

## Sources

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

---

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