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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-3165-1, DSA-5266-1 |
Debian Bugs | 1022743 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
expat (PTS) | buster | 2.2.6-2+deb10u4 | vulnerable |
buster (security) | 2.2.6-2+deb10u6 | fixed | |
bullseye (security), bullseye | 2.2.10-2+deb11u5 | fixed | |
bookworm, sid | 2.5.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
expat | source | buster | 2.2.6-2+deb10u6 | DLA-3165-1 | ||
expat | source | bullseye | 2.2.10-2+deb11u5 | DSA-5266-1 | ||
expat | source | (unstable) | 2.5.0-1 | 1022743 |
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)