Name | CVE-2022-43680 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3165-1, DSA-5266-1, ELA-715-1 |
Debian Bugs | 1022743 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
expat (PTS) | jessie, jessie (lts) | 2.1.0-6+deb8u12 | fixed |
| stretch (security) | 2.2.0-2+deb9u5 | vulnerable |
| stretch (lts), stretch | 2.2.0-2+deb9u9 | fixed |
| buster, buster (lts) | 2.2.6-2+deb10u8 | fixed |
| buster (security) | 2.2.6-2+deb10u7 | fixed |
| bullseye | 2.2.10-2+deb11u5 | fixed |
| bullseye (security) | 2.2.10-2+deb11u6 | fixed |
| bookworm (security), bookworm | 2.5.0-1+deb12u1 | fixed |
| sid, trixie | 2.6.4-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/libexpat/libexpat/issues/649
https://github.com/libexpat/libexpat/pull/616
https://github.com/libexpat/libexpat/pull/650
Fixed by: https://github.com/libexpat/libexpat/commit/5290462a7ea1278a8d5c0d5b2860d4e244f997e4 (R_2_5_0)
Testcase: https://github.com/libexpat/libexpat/commit/43992e4ae25fc3dc0eec0cd3a29313555d56aee2 (R_2_5_0)