CVE-2025-3277

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-3277
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3277.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-3277
Aliases
Downstream
Related
Published
2025-04-14T17:15:27Z
Modified
2025-08-19T12:16:43.169947Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/debian/sqlite3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.46.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/debian/sqlite3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.46.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/sqlite/sqlite

Affected ranges

Type
GIT
Repo
https://github.com/sqlite/sqlite
Events

Affected versions

Other

major-relase
relase

version-3.*

version-3.44.0
version-3.45.0
version-3.46.0
version-3.47.0
version-3.48.0
version-3.49.0