CVE-2017-5130

NameCVE-2017-5130
DescriptionAn integer overflow in xmlmemory.c in libxml2 before 2.9.5, as used in Google Chrome prior to 62.0.3202.62 and other products, allowed a remote attacker to potentially exploit heap corruption via a crafted XML file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1188-1, DLA-2972-1
Debian Bugs880000

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)buster2.9.4+dfsg1-7+deb10u4fixed
buster (security)2.9.4+dfsg1-7+deb10u6fixed
bullseye (security), bullseye2.9.10+dfsg-6.7+deb11u4fixed
bookworm2.9.14+dfsg-1.3~deb12u1fixed
sid, trixie2.9.14+dfsg-1.3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
chromium-browsersource(unstable)62.0.3202.75-1unimportant
libxml2sourcewheezy2.8.0+dfsg1-7+wheezy10DLA-1188-1
libxml2sourcestretch2.9.4+dfsg1-2.2+deb9u6DLA-2972-1
libxml2source(unstable)2.9.4+dfsg1-5.1880000

Notes

[jessie] - libxml2 <no-dsa> (Minor issue)
chromium-browser uses system libxml2.
https://bugs.chromium.org/p/chromium/issues/detail?id=722079 (not public)
https://bugzilla.gnome.org/show_bug.cgi?id=783026 (not public)
xmlMemoryStrdup is only for debugging with excpetion in xmlint when invoked
with --maxmem. Similar issue for xmlMallocLoc and xmlReallocLoc.
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/897dffbae322b46b83f99a607d527058a72c51ed
Needs follow up: https://gitlab.gnome.org/GNOME/libxml2/-/commit/ed48d65b4d6c5cec7be035ad5eebeba873b4b955

Search for package or bug name: Reporting problems