{"id":"CVE-2026-77214","published":"2026-10-07T14:35:42Z","modified":"2026-11-10T12:49:48Z","title":"libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer","vendor":"libexpat","product":"libexpat","tier":"tail","description":{"text":"libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call that allocates the buffer internally. The over-read discloses adjacent heap memory to the calling application, recovering heap pointers, libc function pointers, and code pointers sufficient to defeat ASLR and build further exploitation primitives.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00435,"percentile":0.29621,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/libexpat/libexpat/pull/1393","tags":["issue-tracking","patch"]},{"url":"https://github.com/libexpat/libexpat/commit/13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/libexpat-heap-buffer-over-read-in-xmlparse-c-via-xml-parsebuffer","tags":["third-party-advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":5.92},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"libexpat","affectedVersions":[{"vendor":"libexpat","product":"libexpat","versions":["<= 2.8.5"]}],"fixedVersions":[{"vendor":"libexpat","product":"libexpat","versions":["13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-10T02:25:58.906885Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-94368","exploited":false,"provenance":"source"}}