# CVE-2022-25315: expat: In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.

CVE-2022-25315 is fixed in 10 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.

- Web page: https://patchblox.com/security/cve/CVE-2022-25315
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0482
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 17, 2022

## Description

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | expat Debian 12.15 (bookworm) | 2.4.5-1 | [DEBIAN-CVE-2022-25315](https://patchblox.com/security/data/fix/linux/debian-cve-2022-25315.md) | Feb 18, 2022 |
| Linux | expat Debian 13.5 (trixie) | 2.4.5-1 | [DEBIAN-CVE-2022-25315](https://patchblox.com/security/data/fix/linux/debian-cve-2022-25315.md) | Feb 18, 2022 |
| Linux | expat Debian 14 | 2.4.5-1 | [DEBIAN-CVE-2022-25315](https://patchblox.com/security/data/fix/linux/debian-cve-2022-25315.md) | Feb 18, 2022 |
| Linux | expat RHEL 8 | 0:2.2.5-4.el8_5.3 | [RHSA-2022:0951](https://patchblox.com/security/data/fix/linux/rhsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat RHEL 9 | 0:2.2.10-12.el9_0 | [RHBA-2022:4046](https://patchblox.com/security/data/fix/linux/rhba-2022-4046.md) | May 17, 2022 |
| Linux | expat Ubuntu 18.04.6 LTS (bionic) | 2.2.5-3ubuntu0.7 | [expat 2.2.5-3ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-expat-2.2.5-3ubuntu0.7.md) | Feb 17, 2022 |
| Linux | expat Ubuntu 20.04 LTS (focal) | 2.2.9-1ubuntu0.4 | [expat 2.2.9-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-expat-2.2.9-1ubuntu0.4.md) | Feb 17, 2022 |
| Linux | expat Ubuntu 24.10 (oracular) | 2.4.5-2 | [expat 2.4.5-2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-expat-2.4.5-2.md) | Feb 15, 2022 |
| Linux | expat Ubuntu 25.04 (plucky) | 2.4.5-2 | [expat 2.4.5-2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-expat-2.4.5-2.md) | Feb 15, 2022 |
| Linux | expat almalinux 8 | 2.2.5-8.el8_6.2 | [ALSA-2022:0951](https://patchblox.com/security/data/fix/linux/alsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat amzn 2023 | 2.5.0-1.amzn2023.0.2 | [ALAS2023-2023-058](https://patchblox.com/security/data/fix/linux/alas2023-2023-058.md) | Feb 17, 2023 |
| Linux | expat ol 8 | 0:2.2.5-4.el8_5.3 | [ELSA-2022-0951](https://patchblox.com/security/data/fix/linux/elsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat rocky 8 | 0:2.2.5-4.el8_5.3 | [RLSA-2022:0951](https://patchblox.com/security/data/fix/linux/rlsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat-debuginfo amzn 2023 | 2.5.0-1.amzn2023.0.2 | [ALAS2023-2023-058](https://patchblox.com/security/data/fix/linux/alas2023-2023-058.md) | Feb 17, 2023 |
| Linux | expat-debugsource amzn 2023 | 2.5.0-1.amzn2023.0.2 | [ALAS2023-2023-058](https://patchblox.com/security/data/fix/linux/alas2023-2023-058.md) | Feb 17, 2023 |
| Linux | expat-devel RHEL 8 | 0:2.2.5-4.el8_5.3 | [RHSA-2022:0951](https://patchblox.com/security/data/fix/linux/rhsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat-devel RHEL 9 | 0:2.2.10-12.el9_0 | [RHBA-2022:4046](https://patchblox.com/security/data/fix/linux/rhba-2022-4046.md) | May 17, 2022 |
| Linux | expat-devel almalinux 8 | 2.2.5-8.el8_6.2 | [ALSA-2022:0951](https://patchblox.com/security/data/fix/linux/alsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat-devel amzn 2023 | 2.5.0-1.amzn2023.0.2 | [ALAS2023-2023-058](https://patchblox.com/security/data/fix/linux/alas2023-2023-058.md) | Feb 17, 2023 |
| Linux | expat-devel ol 8 | 0:2.2.5-4.el8_5.3 | [ELSA-2022-0951](https://patchblox.com/security/data/fix/linux/elsa-2022-0951.md) | Mar 16, 2022 |
| Linux | expat-static amzn 2023 | 2.5.0-1.amzn2023.0.2 | [ALAS2023-2023-058](https://patchblox.com/security/data/fix/linux/alas2023-2023-058.md) | Feb 17, 2023 |
| Linux | firefox RHEL 8 | 0:91.7.0-3.el8_5 | [RHSA-2022:0818](https://patchblox.com/security/data/fix/linux/rhsa-2022-0818.md) | Mar 10, 2022 |
| Linux | firefox Ubuntu 22.04.1 LTS (jammy) | 1:1snap1-0ubuntu1 | [firefox 1:1snap1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-firefox-1-1snap1-0ubuntu1.md) | Apr 6, 2022 |
| Linux | firefox Ubuntu 24.10 (oracular) | 1:1snap1-0ubuntu1 | [firefox 1:1snap1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-firefox-1-1snap1-0ubuntu1.md) | Feb 15, 2022 |
| Linux | firefox Ubuntu 25.04 (plucky) | 1:1snap1-0ubuntu1 | [firefox 1:1snap1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-firefox-1-1snap1-0ubuntu1.md) | Feb 15, 2022 |
| Linux | firefox almalinux 8 | 91.7.0-3.el8_5.alma | [ALSA-2022:0818](https://patchblox.com/security/data/fix/linux/alsa-2022-0818.md) | Mar 10, 2022 |
| Linux | firefox ol 8 | 0:91.7.0-3.0.1.el8_5 | [ELSA-2022-0818](https://patchblox.com/security/data/fix/linux/elsa-2022-0818.md) | Mar 10, 2022 |
| Linux | firefox rocky 8 | 0:91.7.0-3.el8_5 | [RLSA-2022:0818](https://patchblox.com/security/data/fix/linux/rlsa-2022-0818.md) | Mar 10, 2022 |
| Linux | libexpat1 Ubuntu 18.04.6 LTS (bionic) | 2.2.5-3ubuntu0.7 | [libexpat1 2.2.5-3ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libexpat1-2.2.5-3ubuntu0.7.md) | Feb 17, 2022 |
| Linux | libexpat1 Ubuntu 20.04 LTS (focal) | 2.2.9-1ubuntu0.4 | [libexpat1 2.2.9-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libexpat1-2.2.9-1ubuntu0.4.md) | Feb 17, 2022 |
| Linux | libexpat1 Ubuntu 24.10 (oracular) | 2.4.5-2 | [libexpat1 2.4.5-2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libexpat1-2.4.5-2.md) | Feb 15, 2022 |
| Linux | libexpat1 Ubuntu 25.04 (plucky) | 2.4.5-2 | [libexpat1 2.4.5-2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libexpat1-2.4.5-2.md) | Feb 15, 2022 |
| Linux | mingw32-expat RHEL 8 | 0:2.4.8-1.el8 | [RHSA-2022:7811](https://patchblox.com/security/data/fix/linux/rhsa-2022-7811.md) | Nov 8, 2022 |
| Linux | mingw32-expat almalinux 8 | 2.4.8-1.el8 | [ALSA-2022:7811](https://patchblox.com/security/data/fix/linux/alsa-2022-7811.md) | Nov 8, 2022 |
| Linux | mingw64-expat RHEL 8 | 0:2.4.8-1.el8 | [RHSA-2022:7811](https://patchblox.com/security/data/fix/linux/rhsa-2022-7811.md) | Nov 8, 2022 |
| Linux | mingw64-expat almalinux 8 | 2.4.8-1.el8 | [ALSA-2022:7811](https://patchblox.com/security/data/fix/linux/alsa-2022-7811.md) | Nov 8, 2022 |
| Linux | thunderbird RHEL 8 | 0:91.7.0-2.el8_5 | [RHSA-2022:0845](https://patchblox.com/security/data/fix/linux/rhsa-2022-0845.md) | Mar 14, 2022 |
| Linux | thunderbird almalinux 8 | 91.7.0-2.el8_5.alma | [ALSA-2022:0845](https://patchblox.com/security/data/fix/linux/alsa-2022-0845.md) | Mar 14, 2022 |
| Linux | thunderbird ol 8 | 0:91.7.0-2.0.1.el8_5 | [ELSA-2022-0845](https://patchblox.com/security/data/fix/linux/elsa-2022-0845.md) | Mar 14, 2022 |
| Linux | thunderbird rocky 8 | 0:91.7.0-2.el8_5 | [RLSA-2022:0845](https://patchblox.com/security/data/fix/linux/rlsa-2022-0845.md) | Mar 14, 2022 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
