CVE-2026-93990: Expat before 2.8.5 Malformed UTF-16 Acceptance via Unchecked Surrogate

Published Sep 19, 2026
·
Updated

Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted. Attackers can supply UTF-16 encoded XML containing lone high surrogates that consume the following code unit, causing Expat to pass unpaired surrogates to applications built with XMLUNICODE and to silently replace input characters in other builds.

Other sources

Expat through 2.8.4 Malformed UTF-16 Acceptance via Unchecked Surrogate

— Microsoft

Affected Software

82 affected componentsFixes available
Expat Expat<2.8.5
Microsoft azl3 python3 3.12.14-2<3.12.15-1
3.12.15-1
Microsoft azl3 expat 2.8.3-2<2.8.5-1
2.8.5-1
debian/expat<2.5.0-1+deb12u4
2.5.0-1+deb12u4
debian/expat<2.9.0-1~deb13u1
2.9.0-1~deb13u1
debian/expat<2.8.4-2
2.8.4-2
All of the following
azurelinux/expat<2.8.5-1
2.8.5-1
Microsoft Azure Linux=3.0
All of the following
azurelinux/python3<3.12.15-1
3.12.15-1
Microsoft Azure Linux=3.0
debian/expat<=2.5.0-1+deb12u2
2.5.0-1+deb12u42.9.0-1~deb13u12.8.4-2
All of the following
azurelinux/expat<0:2.9.0-2.azl4
0:2.9.0-2.azl4
Microsoft Azure Linux=4.0
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<2.4.7-1ubuntu0.10
2.4.7-1ubuntu0.10
ubuntu/matanza*
ubuntu/tdom*
ubuntu/libxmltok*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/expat<2.6.1-2ubuntu0.7
2.6.1-2ubuntu0.7
ubuntu/matanza*
ubuntu/tdom*
ubuntu/libxmltok*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.7.4-1ubuntu0.3
2.7.4-1ubuntu0.3
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 3.12.15-1
  2. Upgrade

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

    Fixed in 2.8.5-1
  3. Upgrade

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

    Fixed in 2.5.0-1+deb12u4
  4. Upgrade

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

    Fixed in 2.9.0-1~deb13u1
  5. Upgrade

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

    Fixed in 2.8.4-2
  6. Upgrade

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

    Fixed in 2.8.5-1
  7. Upgrade

    Upgrade azurelinux/python3 to a version that resolves this vulnerability.

    Fixed in 3.12.15-1
  8. Upgrade

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

    Fixed in 2.5.0-1+deb12u4Fixed in 2.9.0-1~deb13u1Fixed in 2.8.4-2
  9. Upgrade

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

    Fixed in 0:2.9.0-2.azl4
  10. Upgrade

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

    Fixed in 2.4.7-1ubuntu0.10
  11. Upgrade

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

    Fixed in 2.6.1-2ubuntu0.7
  12. Upgrade

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

    Fixed in 2.7.4-1ubuntu0.3
  13. Upgrade

    Upgrade libexpat to a version that resolves this vulnerability.

    Fixed in 2.8.5

Event History

Sep 19, 2026
CVE Published
via MITRE·10:58 PM
Data Sourced
via MITRE·10:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Event
via NVD·11:17 PM
Sep 21, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
Affected Software
Sep 22, 2026
Data Sourced
via Red Hat·09:51 PM
DescriptionSeverityAffected Software
Sep 24, 2026
Event
via FIRST·12:00 AM
Sep 28, 2026
Updated
via MITRE·04:11 PM
Description
Updated
via NVD·05:17 PM
Description
Oct 28, 2026
Data Sourced
via OSV·08:17 PM
Affected Software
Nov 17, 2026
Updated
via OSV·06:22 PM
Affected Software
Nov 19, 2026
Updated
via OSV·03:18 PM
Affected Software
Nov 24, 2026
Updated
via OSV·02:56 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

Which Expat versions are affected?

Expat versions through 2.8.4 are affected.

2

What input must an attacker control to exploit this issue?

An attacker needs to supply crafted UTF-16 encoded XML containing lone high surrogates. The malformed sequence can consume subsequent code units and conceal markup characters from the parser.

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