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 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
expat (PTS) | jessie, jessie (lts) | 2.1.0-6+deb8u11 | fixed |
stretch (security) | 2.2.0-2+deb9u5 | vulnerable | |
stretch (lts), stretch | 2.2.0-2+deb9u8 | fixed | |
buster | 2.2.6-2+deb10u4 | vulnerable | |
buster (security) | 2.2.6-2+deb10u7 | fixed | |
bullseye (security), bullseye | 2.2.10-2+deb11u5 | fixed | |
bookworm | 2.5.0-1 | fixed | |
sid, trixie | 2.6.2-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 | jessie | 2.1.0-6+deb8u10 | ELA-715-1 | ||
expat | source | stretch | 2.2.0-2+deb9u7 | ELA-715-1 | ||
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)