Buffer overflow in Libxml2 - CVE-2015-8241

 

Buffer overflow in Libxml2 - CVE-2015-8241

Published: December 15, 2015 / Updated: July 28, 2020


Vulnerability identifier: #VU32290
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-8241
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to #BASIC_IMPACT#.

The xmlNextChar function in libxml2 2.9.2 does not properly check the state, which allows context-dependent attackers to cause a denial of service (heap-based buffer over-read and application crash) or obtain sensitive information via crafted XML data.


Affected software

Libxml2
Amazon Linux AMI
Debian Linux
Ubuntu
libxml2 (Alpine package)
libxml2 (Ubuntu package)
libxml2 (Debian package)

How to mitigate CVE-2015-8241

Install update from vendor's website.

libxml2 (Alpine package) - update to 2.9.1-r4
libxml2 (Ubuntu package) - addressed in versions 2.7.8.dfsg-5.1ubuntu4.13, 2.9.1+dfsg1-3ubuntu4.6, 2.9.2+dfsg1-3ubuntu0.2, 2.9.2+zdfsg1-4ubuntu0.2
libxml2 (Debian package) - addressed in versions 2.8.0+dfsg1-7+wheezy5, 2.9.1+dfsg1-5+deb8u1

External References

Related Security Bulletins