{"id":"CVE-2022-43680","details":"In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.","aliases":["A-255449293","ASB-A-255449293"],"modified":"2026-04-16T04:40:27.355440659Z","published":"2022-10-24T14:15:53.323Z","related":["ALSA-2023:0103","ALSA-2023:0337","CGA-crgv-4qmc-wc5r","SUSE-SU-2022:3874-1","SUSE-SU-2022:3884-1","SUSE-SU-2022:3912-1","openSUSE-SU-2024:12449-1"],"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2023/12/28/5"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00033.html"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPQVIF6TOJNY2T3ZZETFKR4G34FFREBQ/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2024/01/03/5"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AJ5VY2VYXE4WTRGQ6LMGLF6FV3SY37YE/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5XOOB7CD55CEE6OJYKSACSIMQ4RWQ6/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-38"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221118-0007/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFCOMBSOJKLIKCGCJWHLJXO4EVYBG7AR/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUJ2BULJTZ2BMSKQHB6US674P55UCWWS/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5266"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BY4OPSIB33ETNUXZY2UPZ4NGQ3OKDY4D/"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/pull/616"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/issues/649"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/pull/650"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexpat/libexpat","events":[{"introduced":"0"},{"last_affected":"d77291a4824d78e697c5dc2b8024fd65ab31e209"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.4.9"}]}}],"versions":["REC1_0","R_1_95_0","R_1_95_2","R_1_95_3","R_1_95_4","R_1_95_5","R_1_95_6","R_1_95_7","R_1_95_8","R_2_0_0","R_2_0_1","R_2_1_0","R_2_1_1","R_2_2_0","R_2_2_1","R_2_2_10","R_2_2_2","R_2_2_3","R_2_2_4","R_2_2_5","R_2_2_6","R_2_2_7","R_2_2_8","R_2_2_9","R_2_3_0","R_2_4_0","R_2_4_1","R_2_4_2","R_2_4_3","R_2_4_4","R_2_4_5","R_2_4_6","R_2_4_7","R_2_4_8","R_2_4_9","V1990307","V19981122","V19981231","V19990109","V19990425","V19990626","V19990709","V19990728","V19991013","V1_0","V1_1","V20000512","beta2","beta3","beta4","jclark-orig","libexpat-alpha-1","sourceforge_init","start"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-43680.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"11.0"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]},{"events":[{"introduced":"0"},{"last_affected":"37"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}