cve.bz

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

4.9 mediumEPSS 0.2%Fix available

Medium (4.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 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:L/AC:H/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; 8th 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-56131 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-56131?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-56131?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-56131 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-56131

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-56131](https://cve.bz/cve/badge/CVE-2026-56131.svg)](https://cve.bz/cve/CVE-2026-56131)

HTML:

<a href="https://cve.bz/cve/CVE-2026-56131"><img src="https://cve.bz/cve/badge/CVE-2026-56131.svg" alt="CVE-2026-56131"></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-56131
Debian13expat2.8.2-1~deb13u1DEBIAN-CVE-2026-56131
Debian14expat2.8.2-1DEBIAN-CVE-2026-56131
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2026-56131
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2026-56131
Ubuntu20.04:LTS, 22.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-56131
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.9UBUNTU-CVE-2026-56131 USN-8813-1
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.6UBUNTU-CVE-2026-56131 USN-8813-1
Ubuntu24.04:LTStdom, wbxml2, cadaver and 1 moreno fix listedUBUNTU-CVE-2026-56131
Ubuntu25.10tdom, expat, wbxml2 and 4 moreno fix listedUBUNTU-CVE-2026-56131
Ubuntu26.04:LTSexpat2.7.4-1ubuntu0.2UBUNTU-CVE-2026-56131 USN-8813-1
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-56131
Ubuntu26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2026-56131
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm13UBUNTU-CVE-2026-56131 USN-8813-1
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 1 moreno fix listedUBUNTU-CVE-2026-56131
7 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hathummingbird:1expat, expat-devel, expat-static0:2.8.2-1.1.hum1RHSA-2026:40486
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-56131
Azure Linux3expat2.8.2-1AZL-90258
Alpaquita23, 25, streamexpat2.8.2-r0BELL-CVE-2026-56131
BellSoft Hardened Containers23, 25, streamexpat2.8.2-r0BELL-CVE-2026-56131

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 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 · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate impact use-after-free vulnerability exists in libexpat. This flaw, requiring local access and having high attack complexity, could lead to information disclosure, data corruption, or denial of service. The need for specific policy violations and local access substantially reduces the immediate risk in typical Red Hat environments.

Red Hat's mitigation

To mitigate this vulnerability, avoid processing untrusted XML data in affected applications or ensure your implementation strictly validates and rejects malformed XML payloads before parsing.

ProductPackageStateAdvisory
Red Hat Hardened Imagesexpat-main-2.8.2-1.1.hum1Fixed 2026-07-15RHSA-2026:40486
Red Hat Enterprise Linux 10expatFix deferred
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 10thunderbirdFix deferred
Red Hat Enterprise Linux 6compat-expat1Out of support scope
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatOut of support scope
Red Hat Enterprise Linux 7firefoxOut of support scope
Red Hat Enterprise Linux 8expatFix deferred
Red Hat Enterprise Linux 8firefoxFix deferred
Red Hat Enterprise Linux 8mingw-expatFix deferred
Red Hat Enterprise Linux 8thunderbirdFix deferred
Red Hat Enterprise Linux 8xmlrpc-cFix deferred
Red Hat Enterprise Linux 9expatFix deferred
Red Hat Enterprise Linux 9firefoxFix deferred
Red Hat Enterprise Linux 9thunderbirdFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix 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-56131.

References

Check your stackJSON