Home / SQLite / sqlite / CVE-2025-3277
CVE-2025-3277: is it exploited, and which versions of sqlite are affected and fixed?
CVE-2025-3277 is a heap buffer overflow vulnerability in sqlite. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: sqlite < 3.49.1 (CVE record by Google). Fixed in 3.49.1 (NVD). Severity: Medium (6.9, CVSS 4.0, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-3277?
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.
From the CVE record by Google, last updated October 15, 2026, 01:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| SQLite | sqlite | < 3.49.1 |
As the CVE record by Google states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sqlite | sqlite | from 3.44.0 before 3.49.1 | application |
NVD analysis (status Modified), last modified October 15, 2026, 02:18 UTC.
How severe is CVE-2025-3277?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-3277 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 14, 2025)
- EPSS
- 1.25% probability of exploitation activity in the next 30 days, percentile 70.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and 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
Who found and reported it?
- 王跃林 (Yuelin Wang) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 4, 2025
- Published
- April 14, 2025, 16:50 UTC
- CVE record updated
- October 15, 2026, 01:02 UTC by Google
- NVD
- Modified, last modified October 15, 2026, 02:18 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect sqlite?
- Oct 30, 2026CVE-2026-119591 SQLite: uncontrolled recursion
- Oct 30, 2026CVE-2026-119586 SQLite: command injection
- Oct 30, 2026CVE-2026-119379 SQLite: out-of-bounds write (memory corruption)
- Oct 30, 2026CVE-2026-119378 SQLite: use after free
- Oct 30, 2026CVE-2026-119377 SQLite: incorrect authorization
- Oct 30, 2026CVE-2026-119376 SQLite: uncontrolled recursion
- Oct 30, 2026CVE-2026-119375 SQLite: use of uninitialized resource
- Oct 30, 2026CVE-2026-119374 SQLite: out-of-bounds write (memory corruption)
Questions about CVE-2025-3277
Is CVE-2025-3277 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of sqlite are affected by CVE-2025-3277?
sqlite < 3.49.1, per the CVE record by Google. The tables above give every range the sources list.
Which version fixes CVE-2025-3277?
3.49.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-3277?
Medium (6.9, CVSS 4.0, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2025-3277?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.