In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86142.json"
}{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.15.4"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.15.4"
}
],
"source": "CPE_RANGE"
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-86142.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "94374195000323157558584818726177601513",
"length": 2648
},
"id": "CVE-2026-86142-393eb560",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gnome/libxml2/commit/6b3a736c0edc74ceec3d82f5252499d7911b3a58",
"target": {
"file": "xpointer.c",
"function": "xmlXPtrEvalXPtrPart"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"320106723399512874882700084819409961272",
"157753990312503122511048909793267598212",
"331110792939515777710807542358221519051",
"180517719068658114026357288548352642708"
],
"threshold": 0.9
},
"id": "CVE-2026-86142-664f1970",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/gnome/libxml2/commit/6b3a736c0edc74ceec3d82f5252499d7911b3a58",
"target": {
"file": "xpointer.c"
}
}
]
"2026-09-17T08:15:33Z"