CVE & CISA-KEV Catalog

CVE-2022-25313

MEDIUMEPSS 87th pctl
6.5
CVSS v3
NVD

Description

In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

How to fix

Remediation Available
expatDebian
Fixed in:2.2.10-2+deb11u2CVE-2022-25313
Fixed in:2.4.5-1CVE-2022-25313
Fixed in:2.4.5-1CVE-2022-25313
Fixed in:2.4.5-1CVE-2022-25313
expatRocky
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
expatRed Hat / RHEL
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
expat-debuginfoRocky
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
expat-debuginfoRed Hat / RHEL
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
expat-debugsourceRocky
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
expat-debugsourceRed Hat / RHEL
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
expat-develRed Hat / RHEL
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
expat-develRocky
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_4RHSA-2025:22785
Fixed in:0:2.2.10-1.el8_2RHSA-2025:22871
expatUbuntu
Fixed in:2.1.0-4ubuntu1.4+esm6USN-5320-1
Fixed in:2.1.0-7ubuntu0.16.04.5+esm5USN-5320-1
Fixed in:2.2.5-3ubuntu0.7USN-5320-1
Fixed in:2.2.9-1ubuntu0.4USN-5320-1
lib64expat1Ubuntu
Fixed in:2.1.0-4ubuntu1.4+esm6USN-5320-1
Fixed in:2.1.0-7ubuntu0.16.04.5+esm5USN-5320-1
libexpat1Ubuntu
Fixed in:2.1.0-4ubuntu1.4+esm6USN-5320-1
Fixed in:2.1.0-7ubuntu0.16.04.5+esm5USN-5320-1
Fixed in:2.2.5-3ubuntu0.7USN-5320-1
Fixed in:2.2.9-1ubuntu0.4USN-5320-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

3.27%probability of exploitation in 30 days
87thpercentile

Elevated risk: more likely to be exploited than 87% of all known CVEs.

References

Related Vulnerabilities

Other CWE-674 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-45105Medium5.9100%-Fix
CVE-2024-25111High8.665%-Fix
CVE-2023-50269High8.658%-Fix
CVE-2021-42697High7.536%-Fix
CVE-2018-0739Medium6.519%-Fix
CVE-2007-1285High7.518%-Fix
Embed a live status badge for CVE-2022-25313
CVE-2022-25313 severity badge

Markdown

[![CVE-2022-25313](https://tridentstack.com/cve/badge/CVE-2022-25313.svg)](https://tridentstack.com/cve/CVE-2022-25313)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-25313"><img src="https://tridentstack.com/cve/badge/CVE-2022-25313.svg" alt="CVE-2022-25313"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-30.