In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling writecallback. This has security relevance for many types of uses of that length value within a callback.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"xmlsoft:libxml2": [
"< 2.15.4"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-86143",
"id": "CVE-2026-86143",
"imported": "2026-11-21T02:48:25.319Z",
"modified": "2026-09-15T19:31:15.857Z",
"published": "2026-09-05T05:17:13.270Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-86143"
},
{
"html_url": "https://github.com/advisories/GHSA-r2q6-6v35-773j",
"id": "GHSA-r2q6-6v35-773j",
"imported": "2026-11-21T02:48:30.498Z",
"modified": "2026-09-05T06:32:38Z",
"published": "2026-09-05T06:32:37Z",
"url": "https://api.github.com/advisories/GHSA-r2q6-6v35-773j"
},
{
"affected": {
"xmlsoft:libxml2": [
"0 <2.15.4"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-71822",
"id": "EUVD-2026-71822",
"imported": "2026-11-21T02:48:26.178Z",
"modified": "2026-09-08T18:06:25Z",
"published": "2026-09-05T04:31:21Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-71822"
}
]
}