In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86140.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-86140.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "130597350388435265844608665998721209154",
"length": 1757
},
"id": "CVE-2026-86140-4782bd6c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gnome/libxml2/commit/d1686f91dbda141a752200419d35639fd6b38340",
"target": {
"file": "valid.c",
"function": "xmlSnprintfElements"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"119543098351765964388823927147282784643",
"271909022695536419469264749611667443708",
"215335912178009589414389142897950978120",
"303774327218663884487649299126787037860",
"78458041918150850950971139628900268737",
"110610927479821408314796361861597199554",
"264522835633174867180350571253991174384",
"282891446116975250513253912020971360863"
],
"threshold": 0.9
},
"id": "CVE-2026-86140-a16b75f1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/gnome/libxml2/commit/d1686f91dbda141a752200419d35639fd6b38340",
"target": {
"file": "valid.c"
}
}
]
"2026-09-17T08:15:32Z"