CVE-2026-76781Libxml2: libxml2: null pointer dereference parsing nextcatalog without catalog attribute
A flaw was found in libxml2. A local user or an attacker providing a specially crafted XML catalog can trigger a NULL pointer dereference during XML catalog parsing. This occurs when a `nextCatalog` element lacks its mandatory `catalog` attribute, leading to the application crashing and causing a Denial of Service (DoS).
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libxml2 | Fixed | 2.15.2+dfsg-0.1ubuntu0.3 | UBUNTU-CVE-2026-76781 |
| Ubuntu 24.04 | libxml2 | Fixed | 2.9.14+dfsg-1.3ubuntu3.10 | UBUNTU-CVE-2026-76781 |
| Ubuntu 22.04 | libxml2 | Fixed | 2.9.13+dfsg-1ubuntu0.14 | UBUNTU-CVE-2026-76781 |
| Ubuntu 20.04 | libxml2 | Fix pending | 2.9.10+dfsg-5ubuntu0.20.04.10+esm6 (Ubuntu Pro) | UBUNTU-CVE-2026-76781 |
| Ubuntu 18.04 | libxml2 | Fix pending | 2.9.4+dfsg1-6.1ubuntu1.9+esm9 (Ubuntu Pro) | UBUNTU-CVE-2026-76781 |
| Ubuntu 16.04 | libxml2 | Fix pending | 2.9.3+dfsg1-1ubuntu0.7+esm14 (Ubuntu Pro) | UBUNTU-CVE-2026-76781 |
| Ubuntu 14.04 | libxml2 | Fix pending | 2.9.1+dfsg1-3ubuntu4.13+esm13 (Ubuntu Pro) | UBUNTU-CVE-2026-76781 |
| Debian 14 | libxml2 | Fixed | 2.15.4+dfsg-1 | DEBIAN-CVE-2026-76781 |
| Debian 13 | libxml2 | Fix pending | DEBIAN-CVE-2026-76781 | |
| Debian 12 | libxml2 | Fix pending | DEBIAN-CVE-2026-76781 | |
| Red Hat Enterprise Linux 10 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 10 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libxml2-static | Not affected | ||
| Red Hat Enterprise Linux 10 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-libxml2 | Not affected | ||
| Red Hat Enterprise Linux 9 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 9 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-libxml2 | Not affected | ||
| Red Hat Enterprise Linux 8 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libxml2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libxml2-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libxml2-static | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-static | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Workaround: To mitigate this issue, avoid processing untrusted XML catalog files with applications linked against libxml2. Users should exercise caution when opening or processing XML documents from untrusted sources, as a malicious catalog could lead to application crashes. Where possible, restrict the ability of applications to load external XML catalogs, or ensure that only trusted catalog files are used.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:57604 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:57604
- https://access.redhat.com/security/cve/CVE-2026-76781
- https://bugzilla.redhat.com/show_bug.cgi?id=2519776
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/c6324894
- https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/442
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.