← Vulnerability feed

Vulnerability record · CVE-2025-3277 · published 14 April 2025

CVE-2025-3277: Sqlite heap-based buffer overflow vulnerability

Sqlite · Sqlite

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.

6.9 CVSS 4.0 Medium EPSS 1.3% · top 30.1% CWE-122 · Heap-based buffer overflowCWE-190 · Integer overflow
6.9CVSS 4.0 base score
1.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References
15 Oct 2026Last modified by NVD

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:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-3277 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2015-5895Sqlite vulnerabilityMultiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and attack vectors.EPSS 9.1%9.8CVE-2020-35527Sqlite memory buffer overflow vulnerabilityIn SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.EPSS 1.7%9.8CVE-2020-11656Sqlite use after free vulnerabilityIn SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELEC…EPSS 8.7%9.8CVE-2019-19646Sqlite vulnerabilitypragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns.EPSS 7.4%9.8CVE-2019-19317Sqlite vulnerabilitylookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which allows attackers to cause a den…EPSS 4.7%9.8CVE-2019-8457SQLite rtreenode() heap out-of-bounds read on invalid rtree tablesSQLite versions 3.6.0 through 3.27.2 contain a heap out-of-bounds read in the rtreenode() function when it processes invalid rtree tables. The flaw i…EPSS 45%analysed9.8CVE-2017-10989Sqlite out-of-bounds read vulnerabilityThe getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blobs in a cr…EPSS 8.6%8.5CVE-2026-119586Sqlite command injection vulnerabilitySQLite command-line shell through 3.54.1 contains a command injection vulnerability in the .recover command that emits attacker-planted dot-commands …EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2025-3277), CISA KEV, FIRST EPSS (scores of 2026-11-14). This page is refreshed as NVD updates the record.