CVE-2016-1835: Buffer Overflow

Published May 20, 2016
·
Updated

A vulnerability was found in the libxml2 library. A maliciously crafted file could cause the application to crash due to a Heap use-after-free in xmlSAX2AttributeNs.

References:

https://bugzilla.gnome.org/showbug.cgi?id=759020

Upstream fix:

https://git.gnome.org/browse/libxml2/commit/?id=38eae571111db3b43ffdeb05487c9f60551906fb

Other sources

Use-after-free vulnerability in the xmlSAX2AttributeNs function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2 and OS X before 10.11.5, allows remote attackers to cause a denial of service via a crafted XML document.

Affected Software

11 affected componentsFixes available
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Apple iPhone OS<=9.3.1
Apple iOS and macOS<=10.11.4
Debian Debian Linux=8.0
debian/libxml2<2.9.3+dfsg1-1.1
2.9.3+dfsg1-1.1
debian/libxml2<2.9.3+dfsg1-1.1
2.9.3+dfsg1-1.1
debian/libxml2<2.9.3+dfsg1-1.1
2.9.3+dfsg1-1.1
debian/libxml2
2.8.0+dfsg1-7+wheezy62.9.1+dfsg1-5+deb8u22.9.3+dfsg1-1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.3+dfsg1-1.1
  2. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.8.0+dfsg1-7+wheezy6Fixed in 2.9.1+dfsg1-5+deb8u2Fixed in 2.9.3+dfsg1-1.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.9.4

Event History

May 20, 2016
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
10:59 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:59 AM
DescriptionSeverityAffected Software
Sep 29, 2019
Data Sourced
via Red Hat·01:49 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-1835?

CVE-2016-1835 has been classified as a high severity vulnerability due to the potential for application crashes.

2

How do I fix CVE-2016-1835?

To mitigate CVE-2016-1835, update the libxml2 library to a version that is not vulnerable, such as 2.9.4+dfsg1-7+deb10u4 or later.

3

What systems are affected by CVE-2016-1835?

CVE-2016-1835 affects various versions of libxml2 on Debian, Ubuntu, and macOS systems.

4

What type of vulnerability is CVE-2016-1835?

CVE-2016-1835 is a heap use-after-free vulnerability that can lead to application crashes when processing malicious files.

5

When was CVE-2016-1835 disclosed?

CVE-2016-1835 was disclosed in May 2016 and has been addressed in subsequent library updates.

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