CVE-2026-56131: Use After Free

Published Jun 19, 2026
·
Updated

libexpat before 2.8.2 lacks handler call depth tracking for calls to XMLResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).

Affected Software

80 affected componentsFixes available
Expat libexpat<2.8.2
Microsoft azl3 expat 2.6.4-6<2.8.2-1
2.8.2-1
Libexpat Project Libexpat<2.8.2
debian/expat<2.5.0-1+deb12u3
2.5.0-1+deb12u3
debian/expat<2.8.2-1~deb13u1
2.8.2-1~deb13u1
debian/expat<2.8.2-1
2.8.2-1
debian/expat<=2.5.0-1+deb12u2
2.5.0-1+deb12u32.8.2-1~deb13u12.8.2-1
ubuntu/coin3*
ubuntu/expat<2.1.0-4ubuntu1.4+esm13
2.1.0-4ubuntu1.4+esm13
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/xmlrpc-c*
ubuntu/expat<2.1.0-7ubuntu0.16.04.5+esm14
2.1.0-7ubuntu0.16.04.5+esm14
ubuntu/ayttm*
ubuntu/cableswig*
ubuntu/cadaver*
ubuntu/coin3*
ubuntu/gdcm*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/smart*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.2.5-3ubuntu0.9+esm5
2.2.5-3ubuntu0.9+esm5
ubuntu/cadaver*
ubuntu/coin3*
ubuntu/gdcm*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/smart*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/vnc4*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.2.9-1ubuntu0.8+esm3
2.2.9-1ubuntu0.8+esm3
ubuntu/cadaver*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat<2.4.7-1ubuntu0.9
2.4.7-1ubuntu0.9
ubuntu/matanza*
ubuntu/tdom*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/expat<2.6.1-2ubuntu0.6
2.6.1-2ubuntu0.6
ubuntu/matanza*
ubuntu/tdom*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.7.4-1ubuntu0.2
2.7.4-1ubuntu0.2
ubuntu/matanza*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/swish-e*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.8.2-1
  2. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1+deb12u3
  3. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.8.2-1~deb13u1
  4. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.8.2-1
  5. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.1.0-4ubuntu1.4+esm13
  6. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.1.0-7ubuntu0.16.04.5+esm14
  7. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-3ubuntu0.9+esm5
  8. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.2.9-1ubuntu0.8+esm3
  9. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.4.7-1ubuntu0.9
  10. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.6.1-2ubuntu0.6
  11. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.7.4-1ubuntu0.2
  12. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1+deb12u3Fixed in 2.8.2-1~deb13u1Fixed in 2.8.2-1

Event History

Jun 19, 2026
CVE Published
via MITRE·02:56 AM
Data Sourced
via MITRE·02:56 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·05:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:17 AM
DescriptionSeverityWeakness
Jun 23, 2026
Data Sourced
via NVD·08:15 PM
RemedyAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software
Nov 15, 2026
Data Sourced
via OSV·05:30 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:21 PM
Affected Software
Nov 25, 2026
Updated
via OSV·09:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-56131?

The severity of CVE-2026-56131 is medium with a score of 4.9.

2

What type of vulnerability is CVE-2026-56131?

CVE-2026-56131 is classified as a Use After Free vulnerability.

3

How does CVE-2026-56131 affect the libexpat library?

CVE-2026-56131 affects libexpat by potentially allowing a use-after-free condition during handler calls, which can lead to data corruption.

4

How do I fix CVE-2026-56131?

To fix CVE-2026-56131, upgrade to libexpat version 2.8.2 or later, where the vulnerability is addressed.

5

What are the consequences of exploitation of CVE-2026-56131?

Exploitation of CVE-2026-56131 can lead to application crashes or arbitrary code execution due to the use-after-free condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203