What’s Vulnerable › Vulnerabilities
CVE-2025-3277
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-14 · updated 2026-10-15
- Weakness: CWE-122
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.
Affected products
- SQLite: from 3.44.0 before 3.49.1 — fixed in 3.49.1
How to fix
Upgrade to a fixed version: SQLite 3.49.1. Check the vendor advisory for mitigations.
References
- https://sqlite.org/src/info/498e3f1cf57f164f
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-994087.html
Get alerted when CVE-2025-3277 or the next vulnerability affects your stack