SWS Vulnerability Watch

Back to findings

CVE-2025-3277 in SQLite 3.46.*

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.

Severity
Critical 9.8
Exploitation
1% chance of exploit
in the next 30 days
Fix
Update to 3.49.1
Where
Test dependency
How it matched
Version line match
First seen
2026-11-05 01:13:58 UTC
Source
https://nvd.nist.gov/vuln/detail/CVE-2025-3277