CVE-2015-7941: Buffer Overflow
An out-of-bounds read vulnerability was found in libxml2 with crafted xml input.
Report can be found here:
https://bugzilla.gnome.org/showbug.cgi?id=744980#c1
Upstream patches:
https://git.gnome.org/browse/libxml2/commit/?id=a7dfab7411cbf545f359dd3157e5df1eb0e7ce31 https://git.gnome.org/browse/libxml2/commit/?id=9b8512337d14c8ddf662fcb98b0135f225a1c489
CVE request:
http://seclists.org/oss-sec/2015/q4/127
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
libxml2to a version that resolves this vulnerability.Patch 9b8512337d14c8ddf662fcb98b0135f225a1c489 - Upgrade
Upgrade
libxml2to a version that resolves this vulnerability.Patch a7dfab7411cbf545f359dd3157e5df1eb0e7ce31
Event History
Frequently Asked Questions
What is the severity of CVE-2015-7941?
CVE-2015-7941 is classified as a denial of service vulnerability due to the potential for out-of-bounds reads and crashes.
How do I fix CVE-2015-7941?
To fix CVE-2015-7941, upgrade libxml2 to a version later than 2.9.2 that addresses this vulnerability.
What software is affected by CVE-2015-7941?
CVE-2015-7941 affects libxml2 version 2.9.2 and Ubuntu Linux versions 12.04, 14.04, and 15.04.
Can CVE-2015-7941 lead to data exposure?
CVE-2015-7941 primarily results in denial of service, not direct data exposure, but the crash may lead to temporary unavailability.
Who can exploit CVE-2015-7941?
CVE-2015-7941 can be exploited by context-dependent attackers who deliver crafted XML data.