Description
libxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNOME | libxml2 | 2.13.0 – ≤ 2.15.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxml2 | No fix yet | — |
| Debian 13 | libxml2 | No fix yet | — |
| Debian 12 | libxml2 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4814 libxml2: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 25, 2026
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1163 issue-tracking
- https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/503 patch
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L1200-L1210 technical-description
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L4714-L4830 technical-description
- VulnCheck Advisory: libxml2 2.13.0 through 2.15.4 Denial of Service via xmlTextReaderSetup Unreset Error State third-party-advisory