ALPINE-CVE-2025-3277

Source
https://security.alpinelinux.org/vuln/CVE-2025-3277
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-3277.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2025-3277
Upstream
Published
2025-04-14T17:15:27Z
Modified
2026-08-27T22:18:02Z
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

Alpine:v3.21 / sqlite

Package

Name
sqlite
Purl
pkg:apk/alpine/sqlite?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.44.0
Fixed
3.48.0-r1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-3277.json"