{"id":"ALPINE-CVE-2025-3277","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.","modified":"2026-08-27T22:18:02.886970580Z","published":"2025-04-14T17:15:27.297Z","upstream":["CVE-2025-3277"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-3277"}],"affected":[{"package":{"name":"sqlite","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.44.0"},{"fixed":"3.48.0-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-3277.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}