9.8

CVE-2025-3277: sqlite Heap-based Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesALPINE-CVE-2025-3277RHSA-2025:7517UBUNTU-CVE-2025-3277
Published 14-04-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-3277 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in sqlite. EPSS estimates a 1.25% chance of exploitation in the next 30 days, higher than 69% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.25%
0%100%
Low · +0.42 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 6

Timeline

  1. 14-04-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

1.25%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

+0.42 pp

From 0.83% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat10 products
  • lemon-debuginfo< 0:3.46.1-4.el10_0
  • sqlite< 0:3.46.1-4.el10_0
  • sqlite-analyzer-debuginfo< 0:3.46.1-4.el10_0
  • sqlite-debuginfo< 0:3.46.1-4.el10_0
  • sqlite-debugsource< 0:3.46.1-4.el10_0
Alpine1 product
  • sqlite≥ 3.44.0, < 3.48.0-r1
Debian1 product
  • sqlite3< 3.46.1-3
Sqlite1 product
  • sqlite< 3.49.1 | ≥ 3.44.0, < 3.49.1
Ubuntu1 product
  • sqlite3< 3.45.1-1ubuntu2.3

5 vendors · 14 products

References

14 links
Show all 14 references