xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a strdup failure, i.e., it does not calculate a string length after NULL checking.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-252"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86141.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-86141.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "27170976607720895530530987209039841160",
"length": 525
},
"id": "CVE-2026-86141-c53e3e9f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gnome/libxml2/commit/e89a8aae4c9b40cdafcf66b3f9e57c62db37bb55",
"target": {
"file": "xmlregexp.c",
"function": "xmlRegNewParserCtxt"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"302878214505903208486819954151286530424",
"37630202618886685507405295136119697841",
"93590660092254305857982503994138334279",
"246401619821552732899796684282950842927",
"230708275687567048837374181150302063479",
"65239839760804382027564983652252514488",
"296262472162806466516704123982371573640",
"198405272373661148167750893515741146003",
"68532294000374760556522169048268910697"
],
"threshold": 0.9
},
"id": "CVE-2026-86141-f3a38828",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/gnome/libxml2/commit/e89a8aae4c9b40cdafcf66b3f9e57c62db37bb55",
"target": {
"file": "xmlregexp.c"
}
}
]
"2026-09-17T08:09:58Z"