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
Related
Published
2025-04-14T17:15:27Z
Modified
2025-04-16T08:27:21.461103Z
Downstream
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

Affected versions

3.*

3.40.1-2
3.42.0-1
3.43.0-1
3.43.1-1
3.43.2-1
3.44.0-1
3.44.2-1
3.45.0-1
3.45.1-1
3.45.2-1
3.45.3-1
3.45.3-2~exp1
3.46.0-1
3.46.1-1
3.46.1-2~exp
3.46.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}