Critical Security Update for Expat: Addressing Denial of Service and XML Injection Vulnerabilities

expat Updated 01 Oct 2026

Summary

28/09/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:72663: Important: expat security update. Affects expat versions < 2.5.0-6.el9_8.5. Fixed in 2.5.0-6.el9_8.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Expat is a widely-used C library designed for parsing XML documents efficiently. It is known for its speed and simplicity, making it a popular choice among developers for handling XML data. However, recent vulnerabilities have been discovered that could compromise the security of applications relying on this library, particularly in the areas of attribute processing and UTF-16 input handling.

Vulnerability Detail

The vulnerabilities identified in Expat include a Denial of Service (DoS) attack due to quadratic complexity in attribute processing (CVE-2026-66046) and an XML Injection vulnerability stemming from malformed UTF-16 input (CVE-2026-93990). These vulnerabilities can lead to application crashes or unauthorized data manipulation, posing significant risks to systems that utilize Expat for XML parsing.

How To Fix

Minimum fixed version

2.5.0-6.el9_8.5

This is the first release that contains the fix.

sudo dnf update expat

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit the input size and validate XML documents before processing them with Expat. This can help mitigate the risk of triggering the vulnerabilities until the package is updated.

Conclusion

The recent vulnerabilities in the Expat library highlight the importance of keeping software dependencies up to date. By applying the recommended updates and considering temporary workarounds, developers can safeguard their applications against potential attacks. Regular monitoring for vulnerabilities using tools like Vulert can further enhance security.

See every vulnerability recorded for expat →

Share this vulnerability

FAQ

Expat is a C library for parsing XML documents, known for its efficiency and ease of use.

The vulnerabilities include a Denial of Service due to quadratic complexity in attribute processing and an XML Injection vulnerability from malformed UTF-16 input.

You can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. Visit the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.

If an immediate update is not possible, consider implementing input validation and limiting the size of XML documents processed by Expat as a temporary measure.

For detailed information about the vulnerabilities, including CVSS scores and acknowledgments, refer to the CVE pages for CVE-2026-66046 and CVE-2026-93990.

Related vulnerabilities

Recent vulnerabilities recorded for expat.

How To Fix

Minimum fixed version

2.5.0-6.el9_8.5

This is the first release that contains the fix.

sudo dnf update expat

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback