Infinite loop in Libxml2 - CVE-2018-9251
Published: October 15, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists in the xz_decomp() function of the GNOME libxml2 library, as defined in the xzlib.c source code due to an infinite loop condition in the Lempel-Ziv-Markov (LZMA) decompression feature during the processing of XML files. A remote unauthenticated attacker can trick the victim into opening a specially crafted XML file that submits malicious input, trigger an LZMA_MEMLIMIT_ERROR condition and cause the application to crash.
Affected software
Arch Linux
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Opensuse
Fedora
libxml2 (Alpine package)
libxml2 (Red Hat package)
libxml2
How to mitigate CVE-2018-9251
libxml2 (Red Hat package) - update to 2.9.7-7.el8
libxml2 - addressed in versions 2.9.8-4.fc27, 2.9.8-4.fc28
External References
Related Security Bulletins
- OpenSUSE Linux update for libxml2
- OpenSUSE Linux update for libxml2
- Arch Linux update for lib32-libxml2
- Arch Linux update for libxml2
- Arch Linux update for libxml2
- Red Hat Enterprise Linux 8 update for libxml2
- Amazon Linux AMI update for libxml2
- Infinite loop in libxml2 (Alpine package)
- Fedora 27 update for libxml2
- Fedora 28 update for libxml2