Buffer overflow in Xmlsoft Libxml2
CVE-2015-7941
libxml2 2.9.2 does not properly stop parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and libxml2 crash) via crafted XML data to the (1) xmlParseEntityDecl or (2) xmlParseConditionalSections function in parser.c, as demonstrated by non-terminated entities.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.031, 87.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Xmlsoft Libxml2 — versions 2.9.2
- Canonical Ubuntu Linux — versions 12.04, 14.04, 15.04
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (akaganeite/CVE4PP, mrash/afl-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2015:2550 (vendor-advisory)
- www.securityfocus.com/bid/74241 (vdb-entry)
- openSUSE-SU-2016:0106 (vendor-advisory)
- [oss-security] 20151022 Crafted xml causes out of bound memory access - Libxml2 (mailing-list)
- git.gnome.org/browse/libxml2/commit/
- DSA-3430 (vendor-advisory)
- xmlsoft.org/news.html
- FEDORA-2016-a9ee80b01d (vendor-advisory)
- bugzilla.gnome.org/show_bug.cgi
- RHSA-2016:1089 (vendor-advisory)