# CVE-2021-46143: expat: In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integeroverflow exists for m_groupSize.

CVE-2021-46143 is fixed in 19 products on 1 platform, first by libxmltok1t64 1.2-4.1ubuntu3.1, released September 4, 2019. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-46143
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0447
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 5, 2022

## Description

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integeroverflow exists for m_groupSize.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | expat Debian 12.15 (bookworm) | 2.4.3-1 | [DEBIAN-CVE-2021-46143](https://patchblox.com/security/data/fix/linux/debian-cve-2021-46143.md) | Jan 6, 2022 |
| Linux | expat Debian 13.5 (trixie) | 2.4.3-1 | [DEBIAN-CVE-2021-46143](https://patchblox.com/security/data/fix/linux/debian-cve-2021-46143.md) | Jan 6, 2022 |
| Linux | expat Debian 14 | 2.4.3-1 | [DEBIAN-CVE-2021-46143](https://patchblox.com/security/data/fix/linux/debian-cve-2021-46143.md) | Jan 6, 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.4 | [expat 2.2.5-3ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-expat-2.2.5-3ubuntu0.4.md) | Feb 14, 2022 |
| Linux | expat Ubuntu 20.04 LTS (focal) | 2.2.9-1ubuntu0.2 | [expat 2.2.9-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-expat-2.2.9-1ubuntu0.2.md) | Feb 14, 2022 |
| Linux | expat Ubuntu 22.04.1 LTS (jammy) | 2.4.3-1 | [expat 2.4.3-1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-expat-2.4.3-1.md) | Jan 10, 2022 |
| Linux | expat Ubuntu 24.10 (oracular) | 2.4.3-1 | [expat 2.4.3-1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-expat-2.4.3-1.md) | Jan 16, 2026 |
| Linux | expat Ubuntu 25.04 (plucky) | 2.4.3-1 | [expat 2.4.3-1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-expat-2.4.3-1.md) | Jan 16, 2026 |
| 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 Ubuntu 18.04.6 LTS (bionic) | 98.0+build3-0ubuntu0.18.04.2 | [firefox 98.0+build3-0ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-98.0-build3-0ubuntu0.18.04.2.md) | Mar 8, 2022 |
| Linux | firefox Ubuntu 20.04 LTS (focal) | 98.0+build3-0ubuntu0.20.04.2 | [firefox 98.0+build3-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-98.0-build3-0ubuntu0.20.04.2.md) | Mar 8, 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-geckodriver Ubuntu 18.04.6 LTS (bionic) | 98.0+build3-0ubuntu0.18.04.2 | [firefox-geckodriver 98.0+build3-0ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-geckodriver-98.0-build3-0ubuntu0.18.04.2.md) | Mar 8, 2022 |
| Linux | firefox-geckodriver Ubuntu 20.04 LTS (focal) | 98.0+build3-0ubuntu0.20.04.2 | [firefox-geckodriver 98.0+build3-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-geckodriver-98.0-build3-0ubuntu0.20.04.2.md) | Mar 8, 2022 |
| Linux | firefox-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 98.0+build3-0ubuntu0.18.04.2 | [firefox-mozsymbols 98.0+build3-0ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-mozsymbols-98.0-build3-0ubuntu0.18.04.2.md) | Mar 8, 2022 |
| Linux | firefox-mozsymbols Ubuntu 20.04 LTS (focal) | 98.0+build3-0ubuntu0.20.04.2 | [firefox-mozsymbols 98.0+build3-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-mozsymbols-98.0-build3-0ubuntu0.20.04.2.md) | Mar 8, 2022 |
| Linux | libexpat1 Ubuntu 18.04.6 LTS (bionic) | 2.2.5-3ubuntu0.4 | [libexpat1 2.2.5-3ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libexpat1-2.2.5-3ubuntu0.4.md) | Feb 14, 2022 |
| Linux | libexpat1 Ubuntu 20.04 LTS (focal) | 2.2.9-1ubuntu0.2 | [libexpat1 2.2.9-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libexpat1-2.2.9-1ubuntu0.2.md) | Feb 14, 2022 |
| Linux | libexpat1 Ubuntu 22.04.1 LTS (jammy) | 2.4.3-1 | [libexpat1 2.4.3-1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libexpat1-2.4.3-1.md) | Jan 10, 2022 |
| Linux | libexpat1 Ubuntu 24.10 (oracular) | 2.4.3-1 | [libexpat1 2.4.3-1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libexpat1-2.4.3-1.md) | Jan 16, 2026 |
| Linux | libexpat1 Ubuntu 25.04 (plucky) | 2.4.3-1 | [libexpat1 2.4.3-1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libexpat1-2.4.3-1.md) | Jan 16, 2026 |
| Linux | libxmltok1 Ubuntu 18.04.6 LTS (bionic) | 1.2-4ubuntu0.18.04.1~esm4 | [libxmltok1 1.2-4ubuntu0.18.04.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxmltok1-1.2-4ubuntu0.18.04.1-esm4.md) | Jan 10, 2022 |
| Linux | libxmltok1 Ubuntu 20.04 LTS (focal) | 1.2-4ubuntu0.20.04.1~esm4 | [libxmltok1 1.2-4ubuntu0.20.04.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxmltok1-1.2-4ubuntu0.20.04.1-esm4.md) | Jan 10, 2022 |
| Linux | libxmltok1 Ubuntu 22.04.1 LTS (jammy) | 1.2-4ubuntu0.22.04.1~esm4 | [libxmltok1 1.2-4ubuntu0.22.04.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxmltok1-1.2-4ubuntu0.22.04.1-esm4.md) | Jan 10, 2022 |
| Linux | libxmltok1t64 Ubuntu 24.04.5 LTS (noble) | 1.2-4.1ubuntu2.24.0.4.1+esm2 | [libxmltok1t64 1.2-4.1ubuntu2.24.0.4.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libxmltok1t64-1.2-4.1ubuntu2.24.0.4.1-esm2.md) | Jan 10, 2022 |
| Linux | libxmltok1t64 Ubuntu 24.10 (oracular) | 1.2-4.1ubuntu3.1 | [libxmltok1t64 1.2-4.1ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libxmltok1t64-1.2-4.1ubuntu3.1.md) | Sep 4, 2019 |
| Linux | mame Ubuntu 18.04.6 LTS (bionic) | 0.195+dfsg.1-2ubuntu0.1~esm1 | [mame 0.195+dfsg.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mame-0.195-dfsg.1-2ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame Ubuntu 20.04 LTS (focal) | 0.220+dfsg.1-1ubuntu0.1~esm1 | [mame 0.220+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mame-0.220-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame Ubuntu 22.04.1 LTS (jammy) | 0.242+dfsg.1-1ubuntu0.1~esm1 | [mame 0.242+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mame-0.242-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame Ubuntu 24.04.5 LTS (noble) | 0.264+dfsg.1-1ubuntu0.1~esm1 | [mame 0.264+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-mame-0.264-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame Ubuntu 25.10 (questing) | 0.277+dfsg.1-4ubuntu0.1 | [mame 0.277+dfsg.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-mame-0.277-dfsg.1-4ubuntu0.1.md) | Jun 23, 2022 |
| Linux | mame Ubuntu 26.04.1 LTS (resolute) | 0.281+dfsg1-1build1 | [mame 0.281+dfsg1-1build1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-mame-0.281-dfsg1-1build1.md) | Jan 5, 2022 |
| Linux | mame-data Ubuntu 18.04.6 LTS (bionic) | 0.195+dfsg.1-2ubuntu0.1~esm1 | [mame-data 0.195+dfsg.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mame-data-0.195-dfsg.1-2ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-data Ubuntu 20.04 LTS (focal) | 0.220+dfsg.1-1ubuntu0.1~esm1 | [mame-data 0.220+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mame-data-0.220-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-data Ubuntu 22.04.1 LTS (jammy) | 0.242+dfsg.1-1ubuntu0.1~esm1 | [mame-data 0.242+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mame-data-0.242-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-data Ubuntu 24.04.5 LTS (noble) | 0.264+dfsg.1-1ubuntu0.1~esm1 | [mame-data 0.264+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-mame-data-0.264-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-data Ubuntu 25.10 (questing) | 0.277+dfsg.1-4ubuntu0.1 | [mame-data 0.277+dfsg.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-mame-data-0.277-dfsg.1-4ubuntu0.1.md) | Jun 23, 2022 |
| Linux | mame-data Ubuntu 26.04.1 LTS (resolute) | 0.281+dfsg1-1build1 | [mame-data 0.281+dfsg1-1build1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-mame-data-0.281-dfsg1-1build1.md) | Jan 5, 2022 |
| Linux | mame-tools Ubuntu 18.04.6 LTS (bionic) | 0.195+dfsg.1-2ubuntu0.1~esm1 | [mame-tools 0.195+dfsg.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mame-tools-0.195-dfsg.1-2ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-tools Ubuntu 20.04 LTS (focal) | 0.220+dfsg.1-1ubuntu0.1~esm1 | [mame-tools 0.220+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mame-tools-0.220-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-tools Ubuntu 22.04.1 LTS (jammy) | 0.242+dfsg.1-1ubuntu0.1~esm1 | [mame-tools 0.242+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mame-tools-0.242-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-tools Ubuntu 24.04.5 LTS (noble) | 0.264+dfsg.1-1ubuntu0.1~esm1 | [mame-tools 0.264+dfsg.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-mame-tools-0.264-dfsg.1-1ubuntu0.1-esm1.md) | Jun 23, 2022 |
| Linux | mame-tools Ubuntu 25.10 (questing) | 0.277+dfsg.1-4ubuntu0.1 | [mame-tools 0.277+dfsg.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-mame-tools-0.277-dfsg.1-4ubuntu0.1.md) | Jun 23, 2022 |
| Linux | mame-tools Ubuntu 26.04.1 LTS (resolute) | 0.281+dfsg1-1build1 | [mame-tools 0.281+dfsg1-1build1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-mame-tools-0.281-dfsg1-1build1.md) | Jan 5, 2022 |
| Linux | xmlrpc-c RHEL 8 | 0:1.51.0-8.el8 | [RHSA-2022:7692](https://patchblox.com/security/data/fix/linux/rhsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c almalinux 8 | 1.51.0-8.el8 | [ALSA-2022:7692](https://patchblox.com/security/data/fix/linux/alsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c ol 8 | 0:1.51.0-8.el8 | [ELSA-2022-7692](https://patchblox.com/security/data/fix/linux/elsa-2022-7692.md) | Nov 15, 2022 |
| Linux | xmlrpc-c rocky 8 | 0:1.51.0-8.el8 | [RLSA-2022:7692](https://patchblox.com/security/data/fix/linux/rlsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-c++ RHEL 8 | 0:1.51.0-8.el8 | [RHSA-2022:7692](https://patchblox.com/security/data/fix/linux/rhsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-c++ almalinux 8 | 1.51.0-8.el8 | [ALSA-2022:7692](https://patchblox.com/security/data/fix/linux/alsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-c++ ol 8 | 0:1.51.0-8.el8 | [ELSA-2022-7692](https://patchblox.com/security/data/fix/linux/elsa-2022-7692.md) | Nov 15, 2022 |
| Linux | xmlrpc-c-client RHEL 8 | 0:1.51.0-8.el8 | [RHSA-2022:7692](https://patchblox.com/security/data/fix/linux/rhsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-client almalinux 8 | 1.51.0-8.el8 | [ALSA-2022:7692](https://patchblox.com/security/data/fix/linux/alsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-client ol 8 | 0:1.51.0-8.el8 | [ELSA-2022-7692](https://patchblox.com/security/data/fix/linux/elsa-2022-7692.md) | Nov 15, 2022 |
| Linux | xmlrpc-c-client++ RHEL 8 | 0:1.51.0-8.el8 | [RHSA-2022:7692](https://patchblox.com/security/data/fix/linux/rhsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-client++ almalinux 8 | 1.51.0-8.el8 | [ALSA-2022:7692](https://patchblox.com/security/data/fix/linux/alsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-client++ ol 8 | 0:1.51.0-8.el8 | [ELSA-2022-7692](https://patchblox.com/security/data/fix/linux/elsa-2022-7692.md) | Nov 15, 2022 |
| Linux | xmlrpc-c-devel RHEL 8 | 0:1.51.0-8.el8 | [RHSA-2022:7692](https://patchblox.com/security/data/fix/linux/rhsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-devel almalinux 8 | 1.51.0-8.el8 | [ALSA-2022:7692](https://patchblox.com/security/data/fix/linux/alsa-2022-7692.md) | Nov 8, 2022 |
| Linux | xmlrpc-c-devel ol 8 | 0:1.51.0-8.el8 | [ELSA-2022-7692](https://patchblox.com/security/data/fix/linux/elsa-2022-7692.md) | Nov 15, 2022 |

---

Data as of 2026-11-09T07:25:28Z 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.
