Critical
Security advisory
The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-8872
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:23 UTC · Revision 1
Source evidence
The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure.
osv:CVE-2017-8872
Complete source record
{
"id": "37711c473a43ea9933896f1f4754cd5e6e7d6ec6cab7372d6f9d384248689ae8",
"url": "https://osv.dev/vulnerability/CVE-2017-8872",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-8872",
"summary": "The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure.",
"evidence": "osv:CVE-2017-8872",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-8872",
"aliases": [
"CVE-2017-8872"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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-8872.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-8872.json"
}
}
],
"modified": "2026-10-24T10:30:38.663109614Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html",
"https://bugzilla.gnome.org/show_bug.cgi?id=775200"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-8872",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 434506,
"published_at": "2017-05-10T05:29:00.283+00:00"
}