HighFix available
libxml2 — 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
- libxml2
- Affected versions
- Not specified
- Fixed versions
- 2.9.4+dfsg1-3.1
- CVEs
- CVE-2017-9050
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:30 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:DEBIAN-CVE-2017-9050
libxml2
Fixed versions: 2.9.4+dfsg1-3.1
libxml2
Fixed versions: 2.9.4+dfsg1-3.1
libxml2
Fixed versions: 2.9.4+dfsg1-3.1
Complete source record
{
"id": "08bf317247e896cb566f61a61b10c400a93fa982562fef235ea5bd57f1eb7f46",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2017-9050",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-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:DEBIAN-CVE-2017-9050",
"products": [
{
"name": {
"value": "libxml2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.4+dfsg1-3.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxml2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.4+dfsg1-3.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxml2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.4+dfsg1-3.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2017-9050",
"aliases": [
"DEBIAN-CVE-2017-9050"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.4+dfsg1-3.1"
}
]
}
],
"package": {
"name": "libxml2",
"purl": "pkg:deb/debian/libxml2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2017-9050.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.4+dfsg1-3.1"
}
]
}
],
"package": {
"name": "libxml2",
"purl": "pkg:deb/debian/libxml2?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2017-9050.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.4+dfsg1-3.1"
}
]
}
],
"package": {
"name": "libxml2",
"purl": "pkg:deb/debian/libxml2?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2017-9050.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T07:47:40.175225735Z",
"provider": "osv",
"upstream": [
"CVE-2017-9050"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2017-9050"
]
},
"related_cves": [
{
"value": "CVE-2017-9050",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 322366,
"published_at": "2017-05-18T06:29:00.497+00:00"
}