CVE-2026-1757Libxml2: memory leak leading to local denial of service in xmllint interactive shell
A flaw was identified in the interactive shell of the xmllint utility, part of the libxml2 project, where memory allocated for user input is not properly released under certain conditions. When a user submits input consisting only of whitespace, the program skips command execution but fails to free the allocated buffer. Repeating this action causes memory to continuously accumulate. Over time, this can exhaust system memory and terminate the xmllint process, creating a denial-of-service condition on the local system.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat has 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 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libxml2 | Fixed | 2.14.5+dfsg-0.2ubuntu0.2 | UBUNTU-CVE-2026-1757 |
| Ubuntu 24.04 | libxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libxml2 | Not affected vulnerable_code_not_present | ||
| Debian 14 | libxml2 | Fixed | 2.15.2+dfsg-0.1 | DEBIAN-CVE-2026-1757 |
| Debian 13 | libxml2 | Fixed | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | DEBIAN-CVE-2026-1757 |
| Debian 12 | libxml2 | Fixed | 2.9.14+dfsg-1.3~deb12u6 | DEBIAN-CVE-2026-1757 |
| Red Hat Enterprise Linux 10 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libxml2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-libxml2 | Fix pending Fix deferred | ||
| 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 | python3-libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-python | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-static | Fix pending Fix deferred | ||
| 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 JBoss Core Services
- Red Hat OpenShift AI (RHOAI)
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:7519 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:7519
- https://access.redhat.com/security/cve/CVE-2026-1757
- https://bugzilla.redhat.com/show_bug.cgi?id=2435940
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1009
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.