{"id":"CVE-2026-123202","summary":"libnxml before 0.18.6 Stack-based Buffer Overflow via long multi-byte XML name","details":"libnxml before 0.18.6 contains a stack-based buffer overflow vulnerability in src/nxml_parser.c that allows remote attackers to write past a 1024-byte stack buffer via long XML names. Attackers can supply XML or RSS feeds with a 1022-character element, attribute, DOCTYPE or entity name ending in a multi-byte UTF-8 character to crash parsing applications.","modified":"2026-11-05T21:32:23.426461736Z","published":"2026-11-05T18:16:38.397Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123202.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-121"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123202.json"},{"type":"PACKAGE","url":"https://github.com/bakulf/libnxml"},{"type":"ARTICLE","url":"https://github.com/bakulf/libnxml/blob/9272d1cd6fee88fe7fd4fd812736d95a6ba25f2f/src/nxml_parser.c#L952-L958"},{"type":"FIX","url":"https://github.com/bakulf/libnxml/commit/fbac242374883edf2ec14127ca6d2accf4704b6a"},{"type":"ADVISORY","url":"https://github.com/bakulf/libnxml/releases/tag/0.18.6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123202"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libnxml-before-0.18.6-stack-based-buffer-overflow-via-long-multi-byte-xml-name"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bakulf/libnxml","events":[{"introduced":"0"},{"fixed":"a1b63cf1db05dc861f55e7a5a39300dbd408cac6"},{"fixed":"fbac242374883edf2ec14127ca6d2accf4704b6a"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.18.6"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"fbac242374883edf2ec14127ca6d2accf4704b6a"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"0.18.6","range":[{"fixed":"a1b63cf1db05dc861f55e7a5a39300dbd408cac6"}]}]}}],"versions":["0.18.5","0.18.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123202.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}