CVE-2022-40304

NameCVE-2022-40304
DescriptionAn issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
SourceCVE (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)
ReferencesDLA-3172-1, DSA-5271-1
Debian Bugs1022225

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)buster2.9.4+dfsg1-7+deb10u4vulnerable
buster (security)2.9.4+dfsg1-7+deb10u5fixed
bullseye2.9.10+dfsg-6.7+deb11u2vulnerable
bullseye (security)2.9.10+dfsg-6.7+deb11u3fixed
bookworm, sid2.9.14+dfsg-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2sourcebuster2.9.4+dfsg1-7+deb10u5DLA-3172-1
libxml2sourcebullseye2.9.10+dfsg-6.7+deb11u3DSA-5271-1
libxml2source(unstable)2.9.14+dfsg-1.11022225

Notes

Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b (v2.10.3)
https://bugs.chromium.org/p/project-zero/issues/detail?id=2335

Search for package or bug name: Reporting problems