CVE-2017-9049: Use After Free

Published May 18, 2017
·
Updated

libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictComputeFastKey function in dict.c. This vulnerability causes programs that use libxml2, such as PHP, to crash. This vulnerability exists because of an incomplete fix for libxml2 Bug 759398.

Other sources

libxml2. A use after free issue was addressed with improved memory management.

Credit

Wei Lei, Liu Yang - Nanyang Technological University in Singapore, Wei Lei, Liu Yang - Nanyang Technological University in Singapore, Wei Lei, Liu Yang - Nanyang Technological University in Singapore, Wei Lei, Liu Yang - Nanyang Technological University in Singapore, Wei Lei, Liu Yang - Nanyang Technological University in Singapore, Wei Lei, Liu Yang - Nanyang Technological University in Singapore, Wei Lei, Liu Yang - Nanyang Technological University in Singapore

Affected Software

12 affected componentsFixes available
debian/libxml2
2.9.4+dfsg1-7+deb10u42.9.4+dfsg1-7+deb10u62.9.10+dfsg-6.7+deb11u42.9.14+dfsg-1.3~deb12u12.9.14+dfsg-1.3
debian/libxml2<=2.9.4+dfsg1-2.2, <=2.9.1+dfsg1-5
2.9.4+dfsg1-3.12.9.4+dfsg1-2.2+deb9u12.9.1+dfsg1-5+deb8u5
Apple tvOS<11
11
Apple macOS High Sierra<10.13
10.13
Apple macOS High Sierra<10.13.1
10.13.1
Apple Sierra
Apple El Capitan
Apple WatchOS<4
4
Apple iCloud for Windows<7.0
7.0
Xmlsoft Libxml2=2.9.4
Apple iTunes for Windows<12.7
12.7
Apple iOS<11
11

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.4+dfsg1-7+deb10u4Fixed in 2.9.4+dfsg1-7+deb10u6Fixed in 2.9.10+dfsg-6.7+deb11u4Fixed in 2.9.14+dfsg-1.3~deb12u1Fixed in 2.9.14+dfsg-1.3
  2. Upgrade

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

    Fixed in 2.9.4+dfsg1-3.1Fixed in 2.9.4+dfsg1-2.2+deb9u1Fixed in 2.9.1+dfsg1-5+deb8u5
  3. Upgrade

    Upgrade tvOS to a version that resolves this vulnerability.

    Fixed in 11
  4. Upgrade

    Upgrade macOS High Sierra to a version that resolves this vulnerability.

    Fixed in 10.13
  5. Upgrade

    Upgrade macOS High Sierra to a version that resolves this vulnerability.

    Fixed in 10.13.1
  6. Upgrade

    Upgrade Apple iOS, iPadOS, and watchOS to a version that resolves this vulnerability.

    Fixed in 4
  7. Upgrade

    Upgrade Apple iCloud to a version that resolves this vulnerability.

    Fixed in 7.0
  8. Upgrade

    Upgrade iTunes to a version that resolves this vulnerability.

    Fixed in 12.7
  9. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 11

Event History

May 18, 2017
CVE Published
via MITRE·06:13 AM
Data Sourced
via MITRE·06:13 AM
Description
Data Sourced
via NVD·06:29 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2017-9049?

CVE-2017-9049 is a vulnerability in the libxml2 library that could cause programs to crash.

2

Which software versions are affected by CVE-2017-9049?

CVE-2017-9049 affects various versions of Apple tvOS, iOS, libxml2 on Debian, macOS High Sierra, iTunes for Windows, watchOS, iCloud for Windows, and other versions of libxml2 on Debian.

3

What is the severity of CVE-2017-9049?

CVE-2017-9049 has a severity score of 7.5, which is considered high.

4

How can I fix CVE-2017-9049?

To fix CVE-2017-9049, you should update to the latest version of the affected software or apply the recommended patches.

5

Where can I find more information about CVE-2017-9049?

You can find more information about CVE-2017-9049 on the Apple support website and the Bugzilla page.

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