CVE-2026-76957: Use After Free

Published Aug 20, 2026
·
Updated

Last updated 24 September 2026

Other sources

libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.

— MITRE

Affected Software

74 affected componentsFixes available
libexpat<2.8.4
Libexpat Project Libexpat<2.8.4
debian/expat<2.5.0-1+deb12u3
2.5.0-1+deb12u3
debian/expat<2.9.0-1~deb13u1
2.9.0-1~deb13u1
debian/expat<2.8.4-1
2.8.4-1
debian/expat<=2.5.0-1+deb12u2
2.5.0-1+deb12u32.9.0-1~deb13u12.8.4-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/libxmltok*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/expat<2.6.1-2ubuntu0.6
2.6.1-2ubuntu0.6
ubuntu/matanza*
ubuntu/tdom*
ubuntu/libxmltok*
ubuntu/swish-e*
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 debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1+deb12u3
  2. Upgrade

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

    Fixed in 2.9.0-1~deb13u1
  3. Upgrade

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

    Fixed in 2.8.4-1
  4. Upgrade

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

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

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

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

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

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

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

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

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

    Fixed in 2.4.7-1ubuntu0.9
  9. Upgrade

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

    Fixed in 2.6.1-2ubuntu0.6
  10. Upgrade

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

    Fixed in 2.7.4-1ubuntu0.2
  11. Upgrade

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

    Fixed in 2.5.0-1+deb12u3Fixed in 2.9.0-1~deb13u1Fixed in 2.8.4-1
  12. Upgrade

    Upgrade libexpat to a version that resolves this vulnerability.

    Fixed in 2.8.4

Event History

Aug 20, 2026
CVE Published
via MITRE·04:28 AM
Data Sourced
via MITRE·04:28 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:41 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeakness
Sep 8, 2026
Data Sourced
via NVD·08:56 PM
RemedyAffected Software
Updated
via NVD·08:56 PM
Severity
Event
via NVD·08:56 PM
Nov 15, 2026
Data Sourced
via OSV·05:30 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:22 PM
Affected Software
Nov 19, 2026
Updated
via OSV·03:17 PM
Affected Software
Nov 24, 2026
Updated
via OSV·02:56 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are affected?

Deployments using libexpat versions before 2.8.4 are affected when custom encoding callbacks are in use. The issue is a use-after-free related to missing handler call depth tracking.

2

What access does an attacker need?

The supplied vector indicates local access is required, with high attack complexity. No privileges or user interaction are required.

3

How can I determine whether my environment is exposed?

Check the deployed libexpat version and whether the application uses custom encoding callbacks. Versions before 2.8.4 that use those callbacks should be treated as affected.

4

What should be done to remediate the issue?

Upgrade libexpat to version 2.8.4 or later. The provided data does not identify an alternative mitigation for environments that cannot upgrade immediately.

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