
CVE catalog
CVE-2025-3277
SQLite vulnerabilities
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.25% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sqlite3 | sid | 3.53.4-2 | fixed |
| Debian | sqlite3 | forky | 3.53.4-2 | fixed |
| Debian | sqlite3 | trixie | 3.46.1-7+deb13u2 | fixed |
| Debian | sqlite3 | bookworm | 3.40.1-2+deb12u2 | not affected |
| Ubuntu | sqlite3 | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | lemon | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | libsqlite3-0 | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | libsqlite3-dev | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | libsqlite3-tcl | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | sqlite3-doc | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | sqlite3-tools | noble | 3.45.1-1ubuntu2.3 | fixed |
| Ubuntu | sqlite3 | noble | Not reported | not affected |
| Cpe | sqlite | Not reported | 3.49.1 | fixed |
| Alpine | sqlite | 3.21 | 3.48.0-r1 | fixed |
| Ubuntu | sqlite3 | 24.04 | 3.42.0-1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.44.0-1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.44.2-1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.45.0-1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.45.1-1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.45.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.45.1-1ubuntu2 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.45.1-1ubuntu2.1 | vulnerable |
| Ubuntu | sqlite3 | 24.04 | 3.45.1-1ubuntu2.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sqlite3 | source | sid | 3.46.1-3 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | forky | 3.46.1-3 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | trixie | 3.46.1-3 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Ubuntu | sqlite3 | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Ubuntu | lemon | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Ubuntu | libsqlite3-0 | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Ubuntu | libsqlite3-dev | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Ubuntu | libsqlite3-tcl | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Ubuntu | sqlite3-doc | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Ubuntu | sqlite3-tools | deb | noble | 3.45.1-1ubuntu2.3 | Not reported | Not reported | Not reported |
| Cpe | sqlite | cpe | Not reported | 3.49.1 | Not reported | NVD-CVE-2025-3277 | Not reported |
| Alpine | sqlite | apk | 3.21 | 3.48.0-r1 | Not reported | ALPINE-CVE-2025-3277 | Not reported |
| Ubuntu | sqlite3 | deb | 24.04 | 3.45.1-1ubuntu2.3 | Not reported | UBUNTU-CVE-2025-3277 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_4459.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-3277]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-3277]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-3277]
- [https://security-tracker.debian.org/tracker/CVE-2025-3277]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-3277.json]
- [https://ubuntu.com/security/notices/USN-7528-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0943.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]