CVE-2017-7376: Buffer Overflow

Published Jun 5, 2017
·
Updated

Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.

Other sources

libxml2. A buffer overflow issue was addressed with improved memory handling.

When calculating port value in xmlParse3986Port function, incorrect limit is used.

Android patch:

https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4

References:

https://source.android.com/security/bulletin/2017-06-01#libraries

Red Hat

Credit

an anonymous researcher

Affected Software

23 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
redhat/libxml2<2.9.5
2.9.5
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
Google Android
Apple iTunes for Windows<12.7
12.7
Apple iOS<11
11
Xmlsoft Libxml2<2.9.5
Google Android=4.4.4
Google Android=5.0.2
Google Android=5.1.1
Google Android=6.0
Google Android=6.0.1
Google Android=7.0
Google Android=7.1.1
Google Android=7.1.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Jun 5, 2017
CVE Published
via Android·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Aug 5, 2017
Data Sourced
08:39 PM
SeverityAffected Software
Feb 19, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-7376?

CVE-2017-7376 is a buffer overflow vulnerability in libxml2 that allows remote attackers to execute arbitrary code.

2

How severe is CVE-2017-7376?

CVE-2017-7376 has a severity rating of 9.8, which is classified as critical.

3

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

CVE-2017-7376 affects libxml2 versions up to but not including 2.9.5.

4

How can I fix CVE-2017-7376?

To fix CVE-2017-7376, update to libxml2 version 2.9.5 or later.

5

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

You can find more information about CVE-2017-7376 at the following references: [link1](https://support.apple.com/en-us/HT208113), [link2](https://bugzilla.gnome.org/show_bug.cgi?id=780690), [link3](https://security-tracker.debian.org/tracker/CVE-2017-7376).

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