cve.bz

CVE-2026-56412 libexpat project libexpat: Use After Free

5.9 mediumEPSS 0.2%Fix available

Medium (5.9) in libexpat project libexpat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-56412 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-56412?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-56412?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-56412 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-56412

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-56412](https://cve.bz/cve/badge/CVE-2026-56412.svg)](https://cve.bz/cve/CVE-2026-56412)

HTML:

<a href="https://cve.bz/cve/CVE-2026-56412"><img src="https://cve.bz/cve/badge/CVE-2026-56412.svg" alt="CVE-2026-56412"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libexpat project libexpatbefore 2.8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12expat2.5.0-1+deb12u3DEBIAN-CVE-2026-56412
Debian13expat2.8.2-1~deb13u1DEBIAN-CVE-2026-56412
Debian14expat2.8.2-1DEBIAN-CVE-2026-56412
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.8UBUNTU-CVE-2026-56412 USN-8790-1
Ubuntu22.04:LTStdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.5UBUNTU-CVE-2026-56412 USN-8790-1
Ubuntu24.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu25.10tdom, expat, wbxml2 and 4 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu26.04:LTSexpat2.7.4-1ubuntu0.1UBUNTU-CVE-2026-56412 USN-8790-1
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-56412
Ubuntu26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2026-56412
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm12UBUNTU-CVE-2026-56412 USN-8790-1
9 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreexpat2.8.5-150400.3.40.1SUSE-SU-2026:4623-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreMozillaFirefox153.5.0-150400.157.16.1SUSE-SU-2026:4834-1
SUSELinux Enterprise Module for Basesystem 15 SP7expat2.8.5-150700.3.15.1SUSE-SU-2026:4619-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7MozillaThunderbird153.5.0-150400.13.9.1SUSE-SU-2026:4736-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5MozillaFirefox153.5.0-118.16.2SUSE-SU-2026:4806-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5expat2.8.5-21.55.1SUSE-SU-2026:4615-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0MozillaFirefox153.5.0-160000.1.1SUSE-SU-2026:24260-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0expat2.8.4-160000.1.1SUSE-SU-2026:23912-1
SUSELinux Micro 6.0expat2.8.5-159998.1.1SUSE-SU-2026:24323-1
SUSELinux Micro 6.1expat2.8.5-slfo.1.1_1.1SUSE-SU-2026:24554-1
SUSELinux Micro 6.2expat2.8.4-160000.1.1SUSE-SU-2026:23894-1
openSUSELeap 16.0MozillaFirefox153.5.0-160000.1.1openSUSE-SU-2026:22139-1
openSUSELeap 16.0expat2.8.4-160000.1.1openSUSE-SU-2026:21945-1
openSUSETumbleweedexpat2.8.2-1.1openSUSE-SU-2026:11584-1
Alpinev3.21, v3.22, v3.23 and 1 moreexpat2.8.2-r0ALPINE-CVE-2026-56412
Azure Linux3expat2.8.2-1AZL-90255
Alpaquita23, 25, streamexpat2.8.2-r0BELL-CVE-2026-56412
BellSoft Hardened Containers23, 25, streamexpat2.8.2-r0BELL-CVE-2026-56412

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-chatbot-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/lightspeed-chatbot-rhel9Fix deferred
Red Hat Enterprise Linux 10expatFix deferred
Red Hat Enterprise Linux 7expatFix deferred
Red Hat Enterprise Linux 8expatFix deferred
Red Hat Enterprise Linux 8mingw-expatFix deferred
Red Hat Enterprise Linux 9expatFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-core-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-56412.

References

Check your stackJSON