CVE-2015-7941: Buffer Overflow

Published Oct 22, 2015
·
Updated

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

4 affected components
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=15.04
Xmlsoft Libxml2=2.9.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libxml2 to a version that resolves this vulnerability.

    Patch 9b8512337d14c8ddf662fcb98b0135f225a1c489
  2. Upgrade

    Upgrade libxml2 to a version that resolves this vulnerability.

    Patch a7dfab7411cbf545f359dd3157e5df1eb0e7ce31

Event History

Oct 22, 2015
Data Sourced
via Red Hat·10:02 AM
DescriptionSeverityAffected Software
Nov 18, 2015
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
04:59 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

Who can exploit CVE-2015-7941?

CVE-2015-7941 can be exploited by context-dependent attackers who deliver crafted XML data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203