CVE-2017-16931
CVE-2017-16931 is a critical-severity vulnerability in Xmlsoft Libxml2 with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Xmlsoft Libxml2
- Published:
- Last modified:
Description
parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.
Frequently asked questions
- What is CVE-2017-16931?
- parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.
- How severe is CVE-2017-16931?
- CVE-2017-16931 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-16931 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-16931?
- CVE-2017-16931 affects Xmlsoft Libxml2. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2017-16931?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2017-16931 published?
- CVE-2017-16931 was published on 2017-11-23 and last updated on 2026-06-17.
References
- http://xmlsoft.org/news.html
- https://bugzilla.gnome.org/show_bug.cgi?id=766956
- https://github.com/GNOME/libxml2/commit/e26630548e7d138d2c560844c43820b6767251e3
- https://lists.debian.org/debian-lts-announce/2017/11/msg00041.html
- https://www.oracle.com//security-alerts/cpujul2021.html
Affected products (1)
- cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
More vulnerabilities in Xmlsoft Libxml2
- CVE-2008-3529 — Critical (CVSS 10.0): Heap-based buffer overflow in the xmlParseAttValueComplex function in parser.c in libxml2 before 2.7.0 allows…
- CVE-2004-0989 — Critical (CVSS 10.0): Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other versions, may allow remote…
- CVE-2017-7376 — Critical (CVSS 9.8): Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port…
- CVE-2017-7375 — Critical (CVSS 9.8): A flaw in libxml2 allows remote XML entity inclusion with default parser flags (i.e., when the caller did not request…
- CVE-2016-4658 — Critical (CVSS 9.8): xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS…
- CVE-2016-4448 — Critical (CVSS 9.8): Format string vulnerability in libxml2 before 2.9.4 allows attackers to have unspecified impact via format string…
All CVEs affecting Xmlsoft Libxml2 →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.