CVE-2022-25313
medium · 6.5In 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.
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.
CVE-2022-25313 is rated MEDIUM (6.5), with 179 indexed affected package builds across 4 distributions.
https://pkgseek.com/embed/security/CVE-2022-25313?locale=en
Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.
Newest affected build per package, repository source and distribution release.
expat2.2.5-4.1.al8.3Fixed in 2.2.5-8.al8.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expatexpat-devel2.2.5-4.1.al8.3Fixed in 2.2.5-8.al8.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expat-develexpat2.2.5-8.0.1.el8Fixed in 2.2.5-8.0.1.el8_6.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expatexpat-devel2.2.5-8.0.1.el8Fixed in 2.2.5-8.0.1.el8_6.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expat-develexpat2.2.10-12.el9_0Fixed in 2.2.10-12.el9_0.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expatexpat-devel2.2.10-12.el9_0Fixed in 2.2.10-12.el9_0.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expat-develexpat2.2.10-12.el9_0Fixed in 2.2.10-12.el9_0.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expatexpat-devel2.2.10-12.el9_0Fixed in 2.2.10-12.el9_0.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade expat-devellibexpat12.2.9-1build1Fixed in 2.2.9-1ubuntu0.4UBUNTU-CVE-2022-25313· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5320-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libexpat1libexpat1-dev2.2.9-1build1Fixed in 2.2.9-1ubuntu0.4UBUNTU-CVE-2022-25313· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5320-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libexpat1-devCached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.