{"id":"ALPINE-CVE-2022-40674","details":"libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.","modified":"2026-03-09T01:23:21.052239Z","published":"2022-09-14T11:15:54.020Z","upstream":["CVE-2022-40674"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-40674"}],"affected":[{"package":{"name":"expat","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.10-r7"}]}],"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.10-r2","2.2.10-r3","2.2.10-r4","2.2.10-r5","2.2.10-r6","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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.3-r0","2.4.4-r0","2.4.5-r0","2.4.6-r0","2.4.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}},{"package":{"name":"expat","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/expat?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40674.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}