Critical Denial of Service Vulnerability in Expat Package

expat Updated 04 Jun 2026

Summary

03/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:22715: Important: expat security update. Affects expat versions < 2.7.3-1.el10_2.1. Fixed in 2.7.3-1.el10_2.1. 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 Your last release was probably never penetration tested 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, like many libraries, it can be susceptible to vulnerabilities that may compromise the stability and security of applications relying on it. The recent discovery of a denial of service vulnerability highlights the importance of keeping such libraries updated to mitigate potential risks.

Vulnerability Detail

The vulnerability identified as CVE-2026-45186 allows an attacker to exploit the Expat library by sending crafted XML input that can lead to a denial of service. This means that an application utilizing the Expat library may become unresponsive or crash when processing malicious XML data. The issue arises from improper handling of certain XML constructs, which can overwhelm the library's parsing capabilities, leading to resource exhaustion and application failure.

How To Fix

Minimum fixed version

2.7.3-1.el10_2.1

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch as soon as possible to mitigate the risk of exploitation.

Conclusion

The Expat library has a critical denial of service vulnerability that can affect applications relying on it. It is crucial to update to the patched version to ensure the security and stability of your applications. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your software effectively.

See every vulnerability recorded for expat →

Share this vulnerability

FAQ

The vulnerability is a denial of service issue that can be triggered by sending specially crafted XML input to applications using the Expat library.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to the Vulert playground.

Failing to address this vulnerability may result in your application becoming unresponsive or crashing when processing malicious XML data, potentially leading to service disruptions.

While there are no specific workarounds available, the most effective way to mitigate the risk is to update to the patched version of the Expat library.

For more details, you can refer to the CVE page for CVE-2026-45186, which provides in-depth information about the vulnerability and its impact.

Related vulnerabilities

Recent vulnerabilities recorded for expat.

How To Fix

Minimum fixed version

2.7.3-1.el10_2.1

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