Reference page — cumulative record through Monday, October 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
CVE-2017-9047
n/a n/a — A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801.
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L N N U N N H 7.5 .0319 87.9 —
AFFECTED
Product Versions Fixed
n/a n/a – —
TIMELINE
May 18 Reserved by mitre
May 18 Published (CNA: mitre)
Oct 14 ENRICHED — CVE-2017-9047. Received CVSS 7.5 and CPE data from NVD.
Oct 14 EXPLOIT PUBLISHED — CVE-2017-9047. Public exploit reference added.
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.
Lifecycle
Complete event history — 4 events, chronological
| Date | Event | Detail |
| May 18, 2017 | Reserved | Reserved by mitre |
| May 18, 2017 | Published | Published (CNA: mitre) |
| October 14, 2026 | ENRICHED | ENRICHED — CVE-2017-9047. Received CVSS 7.5 and CPE data from NVD. |
| October 14, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2017-9047. Public exploit reference added. |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| n/a | n/a | — | n/a | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2017-9047 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Monday, October 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.