Description
GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNOME | libxml2 | ≤ 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/1177 issue-tracking
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parser.c#L9011 technical-description
- VulnCheck Advisory: GNOME libxml2 through 2.15.4 NULL Pointer Dereference in xmlParseStartTag2() third-party-advisory