CVE-2026-45186: libexpat 2.8.1 fixes CVE-2026-45186 (denial of service)

Published May 10, 2026
·
Updated

In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.

Affected Software

83 affected componentsFixes available
Expat libexpat<2.8.1
Microsoft azl3 expat 2.6.4-6<2.8.2-1
2.8.2-1
IBM API Connect<=V10.0.8.0 - V10.0.8.12
Libexpat Project Libexpat<2.8.1
debian/expat<2.5.0-1+deb12u4
2.5.0-1+deb12u4
debian/expat<2.8.2-1~deb13u1
2.8.2-1~deb13u1
debian/expat<2.8.0-2
2.8.0-2
debian/expat<=2.5.0-1+deb12u2
2.5.0-1+deb12u42.8.2-1~deb13u12.8.0-2
ubuntu/coin3*
ubuntu/expat*
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/xmlrpc-c*
ubuntu/expat*
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*
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*
ubuntu/cadaver*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/tdom*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/expat<2.6.1-2ubuntu0.5
2.6.1-2ubuntu0.5
ubuntu/libxmltok*
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.1
2.7.4-1ubuntu0.1
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+deb12u4
  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.0-2
  5. Upgrade

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

    Fixed in 2.6.1-2ubuntu0.5
  6. Upgrade

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

    Fixed in 2.7.4-1ubuntu0.1
  7. Upgrade

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

    Fixed in 2.5.0-1+deb12u4Fixed in 2.8.2-1~deb13u1Fixed in 2.8.0-2
  8. Upgrade

    Upgrade libexpat to a version that resolves this vulnerability.

    Fixed in 2.8.1

Event History

May 10, 2026
CVE Published
via MITRE·06:36 AM
Data Sourced
via MITRE·06:36 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
May 11, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:03 AM
Affected Software
May 14, 2026
Data Sourced
via NVD·05:20 PM
RemedyAffected Software
Updated
via NVD·05:20 PM
Severity
Event
via NVD·05:20 PM
Jun 30, 2026
Updated
via NVD·03:20 AM
SeverityWeakness
Sep 16, 2026
Updated
via NVD·01:17 PM
Weakness
Oct 14, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected 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 24, 2026
Updated
via OSV·02:55 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-45186?

CVE-2026-45186 is classified as a denial of service vulnerability.

2

How do I fix CVE-2026-45186?

To mitigate CVE-2026-45186, upgrade to libexpat version 2.8.1 or later.

3

What are the risks associated with CVE-2026-45186?

The risks include potential service downtime due to the careful crafting of XML input.

4

Which versions of libexpat are affected by CVE-2026-45186?

CVE-2026-45186 affects libexpat versions prior to 2.8.1.

5

Can CVE-2026-45186 impact production environments?

Yes, if exploited, CVE-2026-45186 can lead to service interruptions in production environments.

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