UBUNTU-CVE-2025-3277

Source
https://ubuntu.com/security/CVE-2025-3277
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3277.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-3277
Related
Published
2025-04-14T17:15:00Z
Modified
2025-04-23T15:16:44Z
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

Ubuntu:24.10 / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3@3.46.1-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.45.1-1ubuntu2
3.45.3-1
3.46.0-1
3.46.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3@3.45.1-1ubuntu2.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.42.0-1
3.44.0-1
3.44.2-1
3.45.0-1
3.45.1-1
3.45.1-1ubuntu1
3.45.1-1ubuntu2
3.45.1-1ubuntu2.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3@3.46.1-3?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.46.1-1
3.46.1-2
3.46.1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}