7.5

CVE-2017-9047: xmlsoft libxml2

Modified
AliasesUBUNTU-CVE-2017-9047DEBIAN-CVE-2017-9047
Published 18-05-2017Last modified 14-10-2026

Vulnerability summary

CVE-2017-9047 is a high (CVSS 7.5) vulnerability in xmlsoft libxml2. EPSS estimates a 3.16% chance of exploitation in the next 30 days, higher than 87.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
3.16%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 18-05-2017
    PublishedVulnerability first disclosed.
  2. 14-10-2026
    Last modifiedVulnerability information updated.

Description

A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. The variable len is assigned strlen(buf). If the content->type is XML_ELEMENT_CONTENT_ELEMENT, then (i) the content->prefix is appended to buf (if it actually fits) whereupon (ii) content->name is written to the buffer. However, the check for whether the content->name actually fits also uses 'len' rather than the updated buffer length strlen(buf). This allows us to write about "size" many bytes beyond the allocated memory. This vulnerability causes programs that use libxml2, such as PHP, to crash.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

3.16%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

Decrease -0.03 pp

From 3.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • libxml2< 2.9.4+dfsg1-3.1
Ubuntu1 product
  • libxml2< 2.9.1+dfsg1-3ubuntu4.10 | < 2.9.3+dfsg1-1ubuntu0.3
Xmlsoft1 product

3 vendors · 3 products

References

12 links
Show all 12 references