CVEfocus › CVE database › CVE-2026-56412

CVE-2026-56412

CVSS 4.9 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-06-21Updated 2026-11-10Assigner: mitre

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.

CWE-416

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

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

10Fixed
68Fix pending
6Under investigation
10Will not fix
41Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cadaverFix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.10matanzaFix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.10swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.10tdomFix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.10wbxml2Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.10xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.04apache2Not affected
vulnerable_code_not_present
Ubuntu 26.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 26.04cadaverNot affected
vulnerable_code_not_present
Ubuntu 26.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 26.04coin3Not affected
vulnerable_code_not_present
Ubuntu 26.04expatFixed2.7.4-1ubuntu0.1UBUNTU-CVE-2026-56412
Ubuntu 26.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 26.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 26.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 26.04matanzaWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 26.04swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 26.04tdomUnder investigationUBUNTU-CVE-2026-56412
Ubuntu 26.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 26.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 26.04wbxml2Under investigationUBUNTU-CVE-2026-56412
Ubuntu 26.04xmlrpc-cUnder investigationUBUNTU-CVE-2026-56412
Ubuntu 25.10apache2Not affected
vulnerable_code_not_present
Ubuntu 25.10apr-utilNot affected
vulnerable_code_not_present
Ubuntu 25.10cadaverWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 25.10cmakeNot affected
vulnerable_code_not_present
Ubuntu 25.10coin3Not affected
vulnerable_code_not_present
Ubuntu 25.10expatWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 25.10firefoxNot affected
vulnerable_code_not_present
Ubuntu 25.10gdcmNot affected
vulnerable_code_not_present
Ubuntu 25.10ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 25.10matanzaWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 25.10swish-eWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 25.10tdomWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 25.10texlive-binNot affected
vulnerable_code_not_present
Ubuntu 25.10thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 25.10wbxml2Will not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 25.10xmlrpc-cWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 24.04apache2Not affected
vulnerable_code_not_present
Ubuntu 24.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 24.04cadaverNot affected
vulnerable_code_not_present
Ubuntu 24.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 24.04coin3Not affected
vulnerable_code_not_present
Ubuntu 24.04expatFixed2.6.1-2ubuntu0.5UBUNTU-CVE-2026-56412
Ubuntu 24.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 24.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 24.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 24.04libxmltokFix pendingUBUNTU-CVE-2026-56412
Ubuntu 24.04matanzaWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 24.04swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 24.04tdomUnder investigationUBUNTU-CVE-2026-56412
Ubuntu 24.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 24.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 24.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 24.04xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Ubuntu 22.04apache2Not affected
vulnerable_code_not_present
Ubuntu 22.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 22.04cadaverUnder investigationUBUNTU-CVE-2026-56412
Ubuntu 22.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 22.04coin3Not affected
vulnerable_code_not_present
Ubuntu 22.04expatFixed2.4.7-1ubuntu0.8UBUNTU-CVE-2026-56412
Ubuntu 22.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 22.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 22.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 22.04insighttoolkit4Not affected
vulnerable_code_not_present
Ubuntu 22.04libxmltokFix pendingUBUNTU-CVE-2026-56412
Ubuntu 22.04matanzaWill not fix
paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3…
UBUNTU-CVE-2026-56412
Ubuntu 22.04swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 22.04tdomUnder investigationUBUNTU-CVE-2026-56412
Ubuntu 22.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 22.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 22.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 22.04xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04cadaverFix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04expatFix pending2.2.9-1ubuntu0.8+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-56412
Ubuntu 20.04insighttoolkit4Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04libxmltokFix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04matanzaFix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04tdomFix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04wbxml2Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 20.04xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04cadaverFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04coin3Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04expatFix pending2.2.5-3ubuntu0.9+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-56412
Ubuntu 18.04gdcmFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04insighttoolkit4Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04libxmltokFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04matanzaFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04smartFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04tdomFix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04vnc4Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04wbxml2Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 18.04xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04ayttmFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04cableswigFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04cadaverFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04coin3Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04expatFix pending2.1.0-7ubuntu0.16.04.5+esm13 (Ubuntu Pro)UBUNTU-CVE-2026-56412
Ubuntu 16.04gdcmFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04insighttoolkit4Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04libxmltokFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04matanzaFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04smartFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04swish-eFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04tdomFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04vnc4Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04vtkFix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04wbxml2Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 16.04xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Ubuntu 14.04coin3Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 14.04expatFix pending2.1.0-4ubuntu1.4+esm12 (Ubuntu Pro)UBUNTU-CVE-2026-56412
Ubuntu 14.04vnc4Fix pendingUBUNTU-CVE-2026-56412
Ubuntu 14.04vtkFix pendingUBUNTU-CVE-2026-56412
Ubuntu 14.04xmlrpc-cFix pendingUBUNTU-CVE-2026-56412
Debian 14expatFixed2.8.2-1DEBIAN-CVE-2026-56412
Debian 13expatFixed2.8.2-1~deb13u1DEBIAN-CVE-2026-56412
Debian 12expatFixed2.5.0-1+deb12u3DEBIAN-CVE-2026-56412
Red Hat Enterprise Linux 10expatFix pending
Fix deferred
Red Hat Enterprise Linux 10expat-develFix pending
Fix deferred
Red Hat Enterprise Linux 9expatFix pending
Fix deferred
Red Hat Enterprise Linux 9expat-develFix pending
Fix deferred
Red Hat Enterprise Linux 8expatFix pending
Fix deferred
Red Hat Enterprise Linux 8expat-develFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-expatFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-expatFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-expatFix pending
Fix deferred
Red Hat Enterprise Linux 7expatFix pending
Fix deferred
Red Hat Enterprise Linux 7expat-develFix pending
Fix deferred
Red Hat Enterprise Linux 7expat-staticFix pending
Fix deferred
Alpine Linux 3.24expatFixed2.8.2-r0ALPINE-CVE-2026-56412
Alpine Linux 3.23expatFixed2.8.2-r0ALPINE-CVE-2026-56412
Alpine Linux 3.22expatFixed2.8.2-r0ALPINE-CVE-2026-56412
Alpine Linux 3.21expatFixed2.8.2-r0ALPINE-CVE-2026-56412

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

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.