Use-After-Free Vulnerability in GNOME libxml2 Affects Multiple Versions
CVE-2026-137067
5.8MEDIUM
What is CVE-2026-137067?
A use-after-free vulnerability exists in GNOME libxml2 versions 2.9.10 through 2.15.4 due to improper handling within the xmlValidatePopElement function. When xmlCtxtReset is called, it erroneously frees the Document Type Definition (DTD) without adequately managing the validation state stack. This flaw allows attackers to exploit XML documents that conclude within an element. Such exploitation can lead to heap reads, resulting in potential application crashes and revealing sensitive memory information through error messages.
Affected Version(s)
libxml2 2.9.10 <= 2.15.4