CVE-2022-25313

expat: In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting dep...

CVE-2022-25313 is fixed in 9 products on 1 platform, first by expat 2.4.5-2, released February 15, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0330
88th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
expat · Debian 12.15 (bookworm) 2.4.5-1 DEBIAN-CVE-2022-25313 Feb 18, 2022
expat · Debian 13.5 (trixie) 2.4.5-1 DEBIAN-CVE-2022-25313 Feb 18, 2022
expat · Debian 14 2.4.5-1 DEBIAN-CVE-2022-25313 Feb 18, 2022
expat · RHEL 8 0:2.2.5-8.el8_6.2 RHSA-2022:5314 Jun 30, 2022
expat · RHEL 9 0:2.2.10-12.el9_0.2 RHSA-2022:5244 Jul 1, 2022
expat · Ubuntu 18.04.6 LTS (bionic) 2.2.5-3ubuntu0.7 expat 2.2.5-3ubuntu0.7 Feb 17, 2022
expat · Ubuntu 20.04 LTS (focal) 2.2.9-1ubuntu0.4 expat 2.2.9-1ubuntu0.4 Feb 17, 2022
expat · Ubuntu 24.10 (oracular) 2.4.5-2 expat 2.4.5-2 Feb 15, 2022
expat · Ubuntu 25.04 (plucky) 2.4.5-2 expat 2.4.5-2 Feb 15, 2022
expat · almalinux 8 2.2.5-8.el8_6.2 ALSA-2022:5314 Jun 30, 2022
expat · almalinux 9 2.2.10-12.el9_0.2 ALSA-2022:5244 Jul 1, 2022
expat · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
expat · ol 8 0:2.2.5-8.0.1.el8_6.2 ELSA-2022-5314 Jun 30, 2022
expat · ol 9 0:2.2.10-12.el9_0.2 ELSA-2022-5244 Jun 30, 2022
expat · rocky 8 0:2.2.5-8.el8_6.2 RLSA-2022:5314 Jun 28, 2022
expat-debuginfo · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
expat-debugsource · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
expat-devel · RHEL 8 0:2.2.5-8.el8_6.2 RHSA-2022:5314 Jun 30, 2022
expat-devel · RHEL 9 0:2.2.10-12.el9_0.2 RHSA-2022:5244 Jul 1, 2022
expat-devel · almalinux 8 2.2.5-8.el8_6.2 ALSA-2022:5314 Jun 30, 2022
expat-devel · almalinux 9 2.2.10-12.el9_0.2 ALSA-2022:5244 Jul 1, 2022
expat-devel · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
expat-devel · ol 8 0:2.2.5-8.0.1.el8_6.2 ELSA-2022-5314 Jun 30, 2022
expat-devel · ol 9 0:2.2.10-12.el9_0.2 ELSA-2022-5244 Jun 30, 2022
expat-static · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
firefox · Ubuntu 22.04.1 LTS (jammy) 1:1snap1-0ubuntu1 firefox 1:1snap1-0ubuntu1 Apr 6, 2022
firefox · Ubuntu 24.10 (oracular) 1:1snap1-0ubuntu1 firefox 1:1snap1-0ubuntu1 Feb 15, 2022
firefox · Ubuntu 25.04 (plucky) 1:1snap1-0ubuntu1 firefox 1:1snap1-0ubuntu1 Feb 15, 2022
libexpat1 · Ubuntu 18.04.6 LTS (bionic) 2.2.5-3ubuntu0.7 libexpat1 2.2.5-3ubuntu0.7 Feb 17, 2022
libexpat1 · Ubuntu 20.04 LTS (focal) 2.2.9-1ubuntu0.4 libexpat1 2.2.9-1ubuntu0.4 Feb 17, 2022
libexpat1 · Ubuntu 24.10 (oracular) 2.4.5-2 libexpat1 2.4.5-2 Feb 15, 2022
libexpat1 · Ubuntu 25.04 (plucky) 2.4.5-2 libexpat1 2.4.5-2 Feb 15, 2022
mingw32-expat · RHEL 8 0:2.4.8-1.el8 RHSA-2022:7811 Nov 8, 2022
mingw32-expat · almalinux 8 2.4.8-1.el8 ALSA-2022:7811 Nov 8, 2022
mingw64-expat · RHEL 8 0:2.4.8-1.el8 RHSA-2022:7811 Nov 8, 2022
mingw64-expat · almalinux 8 2.4.8-1.el8 ALSA-2022:7811 Nov 8, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.