High
Security advisory
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString 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 CVE-2016-1839.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-9050
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:32 UTC · Revision 1
Source evidence
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString 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 CVE-2016-1839.
osv:CVE-2017-9050
Complete source record
{
"id": "d83d29e7e1ee92091f6a2852ed6aa443333f3ad45653aa697ea43a09982b6db5",
"url": "https://osv.dev/vulnerability/CVE-2017-9050",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-9050",
"summary": "libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString 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 CVE-2016-1839.",
"evidence": "osv:CVE-2017-9050",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-9050",
"aliases": [
"CVE-2017-9050",
"GHSA-8c56-cpmw-89x7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gnome/libxml2",
"type": "GIT",
"events": [
{
"introduced": "bdec2183f34b37ee89ae1d330c6ad2bb4d76605f"
},
{
"last_affected": "bdec2183f34b37ee89ae1d330c6ad2bb4d76605f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:2.9.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.4"
},
{
"last_affected": "2.9.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.9.4",
"v2.9.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9050.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/libxml2",
"type": "GIT",
"events": [
{
"introduced": "bdec2183f34b37ee89ae1d330c6ad2bb4d76605f"
},
{
"last_affected": "bdec2183f34b37ee89ae1d330c6ad2bb4d76605f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:2.9.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.4"
},
{
"last_affected": "2.9.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.9.4",
"v2.9.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9050.json"
}
}
],
"modified": "2026-10-24T10:30:19.833828532Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E",
"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E",
"https://security.gentoo.org/glsa/201711-01"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-9050",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430117,
"published_at": "2017-05-18T06:29:00.497+00:00"
}