{"id":"ALPINE-CVE-2024-8176","details":"A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.","modified":"2025-12-03T22:57:51.246966Z","published":"2025-03-14T09:15:14.157Z","upstream":["CVE-2024-8176"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-8176"}],"affected":[{"package":{"name":"expat","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}],"versions":["2.0.1-r0","2.0.1-r1","2.0.1-r2","2.0.1-r3","2.0.1-r4","2.0.1-r5","2.0.1-r6","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.1-r0","2.2.0-r0","2.2.0-r1","2.2.1-r0","2.2.10-r0","2.2.10-r1","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.5-r0","2.2.6-r0","2.2.7-r0","2.2.7-r1","2.2.8-r0","2.2.9-r0","2.2.9-r1","2.3.0-r0","2.4.1-r0","2.4.2-r0","2.4.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0","2.4.8-r0","2.4.8-r1","2.4.9-r0","2.5.0-r0","2.5.0-r1","2.6.0-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-8176.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}],"versions":["2.0.1-r0","2.0.1-r1","2.0.1-r2","2.0.1-r3","2.0.1-r4","2.0.1-r5","2.0.1-r6","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.1-r0","2.2.0-r0","2.2.0-r1","2.2.1-r0","2.2.10-r0","2.2.10-r1","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.5-r0","2.2.6-r0","2.2.7-r0","2.2.7-r1","2.2.8-r0","2.2.9-r0","2.2.9-r1","2.3.0-r0","2.4.1-r0","2.4.2-r0","2.4.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0","2.4.8-r0","2.4.8-r1","2.4.9-r0","2.5.0-r0","2.5.0-r1","2.5.0-r2","2.6.0-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-8176.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}],"versions":["2.0.1-r0","2.0.1-r1","2.0.1-r2","2.0.1-r3","2.0.1-r4","2.0.1-r5","2.0.1-r6","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.1-r0","2.2.0-r0","2.2.0-r1","2.2.1-r0","2.2.10-r0","2.2.10-r1","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.5-r0","2.2.6-r0","2.2.7-r0","2.2.7-r1","2.2.8-r0","2.2.9-r0","2.2.9-r1","2.3.0-r0","2.4.1-r0","2.4.2-r0","2.4.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0","2.4.8-r0","2.4.8-r1","2.4.9-r0","2.5.0-r0","2.5.0-r1","2.5.0-r2","2.6.0-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-8176.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}],"versions":["2.0.1-r0","2.0.1-r1","2.0.1-r2","2.0.1-r3","2.0.1-r4","2.0.1-r5","2.0.1-r6","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.1-r0","2.2.0-r0","2.2.0-r1","2.2.1-r0","2.2.10-r0","2.2.10-r1","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.5-r0","2.2.6-r0","2.2.7-r0","2.2.7-r1","2.2.8-r0","2.2.9-r0","2.2.9-r1","2.3.0-r0","2.4.1-r0","2.4.2-r0","2.4.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0","2.4.8-r0","2.4.8-r1","2.4.9-r0","2.5.0-r0","2.5.0-r1","2.5.0-r2","2.6.0-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-8176.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}],"versions":["2.0.1-r0","2.0.1-r1","2.0.1-r2","2.0.1-r3","2.0.1-r4","2.0.1-r5","2.0.1-r6","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.1-r0","2.2.0-r0","2.2.0-r1","2.2.1-r0","2.2.10-r0","2.2.10-r1","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.5-r0","2.2.6-r0","2.2.7-r0","2.2.7-r1","2.2.8-r0","2.2.9-r0","2.2.9-r1","2.3.0-r0","2.4.1-r0","2.4.2-r0","2.4.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0","2.4.8-r0","2.4.8-r1","2.4.9-r0","2.5.0-r0","2.5.0-r1","2.5.0-r2","2.6.0-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-8176.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}],"versions":["2.0.1-r0","2.0.1-r1","2.0.1-r2","2.0.1-r3","2.0.1-r4","2.0.1-r5","2.0.1-r6","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.1-r0","2.2.0-r0","2.2.0-r1","2.2.1-r0","2.2.10-r0","2.2.10-r1","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.5-r0","2.2.6-r0","2.2.7-r0","2.2.7-r1","2.2.8-r0","2.2.9-r0","2.2.9-r1","2.3.0-r0","2.4.1-r0","2.4.2-r0","2.4.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0","2.4.8-r0","2.4.8-r1","2.4.9-r0","2.5.0-r0","2.5.0-r1","2.5.0-r2","2.6.0-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-8176.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}