{"id":"ALPINE-CVE-2025-29087","details":"In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.","modified":"2026-08-27T22:18:02.872063350Z","published":"2025-04-07T20:15:20.253Z","upstream":["CVE-2025-29087"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-29087"}],"affected":[{"package":{"name":"sqlite","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.44.0"},{"fixed":"3.44.2-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-29087.json"}},{"package":{"name":"sqlite","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.44.0"},{"fixed":"3.45.3-r2"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-29087.json"}},{"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-29087.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:N/I:N/A:H"}]}