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