CVE-2021-45960

expat: In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) placesin the storeAtts function in xmlparse.c can...

CVE-2021-45960 is fixed in 9 products on 1 platform, first by DEBIAN-CVE-2021-45960, released January 1, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
9.8
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0467
91st percentile

In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) placesin the storeAtts function in xmlparse.c can lead to realloc misbehavior(e.g., allocating too few bytes, or only freeing memory).

Where it's fixed

ProductFixed inFixReleased
Linux
expat · Debian 11.6 (bullseye) 2.2.10-2+deb11u1 DSA-5073-1 Feb 12, 2022
expat · Debian 12.15 (bookworm) 2.4.3-1 DEBIAN-CVE-2021-45960 Jan 1, 2022
expat · Debian 13.5 (trixie) 2.4.3-1 DEBIAN-CVE-2021-45960 Jan 1, 2022
expat · Debian 14 2.4.3-1 DEBIAN-CVE-2021-45960 Jan 1, 2022
expat · RHEL 8 0:2.2.5-4.el8_5.3 RHSA-2022:0951 Mar 16, 2022
expat · Ubuntu 18.04.6 LTS (bionic) 2.2.5-3ubuntu0.4 expat 2.2.5-3ubuntu0.4 Feb 14, 2022
expat · Ubuntu 20.04 LTS (focal) 2.2.9-1ubuntu0.2 expat 2.2.9-1ubuntu0.2 Feb 14, 2022
expat · Ubuntu 22.04.1 LTS (jammy) 2.4.3-1 expat 2.4.3-1 Jan 10, 2022
expat · Ubuntu 24.10 (oracular) 2.4.3-1 expat 2.4.3-1 Jan 16, 2026
expat · Ubuntu 25.04 (plucky) 2.4.3-1 expat 2.4.3-1 Jan 16, 2026
expat · almalinux 8 2.2.5-8.el8_6.2 ALSA-2022:0951 Mar 16, 2022
expat · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
expat · ol 8 0:2.2.5-4.el8_5.3 ELSA-2022-0951 Mar 16, 2022
expat · rocky 8 0:2.2.5-4.el8_5.3 RLSA-2022:0951 Mar 16, 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-4.el8_5.3 RHSA-2022:0951 Mar 16, 2022
expat-devel · almalinux 8 2.2.5-8.el8_6.2 ALSA-2022:0951 Mar 16, 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-4.el8_5.3 ELSA-2022-0951 Mar 16, 2022
expat-static · amzn 2023 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058 Feb 17, 2023
firefox · Ubuntu 18.04.6 LTS (bionic) 98.0+build3-0ubuntu0.18.04.2 firefox 98.0+build3-0ubuntu0.18.04.2 Mar 8, 2022
firefox · Ubuntu 20.04 LTS (focal) 98.0+build3-0ubuntu0.20.04.2 firefox 98.0+build3-0ubuntu0.20.04.2 Mar 8, 2022
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
firefox-geckodriver · Ubuntu 18.04.6 LTS (bionic) 98.0+build3-0ubuntu0.18.04.2 firefox-geckodriver 98.0+build3-0ubuntu0.18.04.2 Mar 8, 2022
firefox-geckodriver · Ubuntu 20.04 LTS (focal) 98.0+build3-0ubuntu0.20.04.2 firefox-geckodriver 98.0+build3-0ubuntu0.20.04.2 Mar 8, 2022
firefox-mozsymbols · Ubuntu 18.04.6 LTS (bionic) 98.0+build3-0ubuntu0.18.04.2 firefox-mozsymbols 98.0+build3-0ubuntu0.18.04.2 Mar 8, 2022
firefox-mozsymbols · Ubuntu 20.04 LTS (focal) 98.0+build3-0ubuntu0.20.04.2 firefox-mozsymbols 98.0+build3-0ubuntu0.20.04.2 Mar 8, 2022
libexpat1 · Ubuntu 18.04.6 LTS (bionic) 2.2.5-3ubuntu0.4 libexpat1 2.2.5-3ubuntu0.4 Feb 14, 2022
libexpat1 · Ubuntu 20.04 LTS (focal) 2.2.9-1ubuntu0.2 libexpat1 2.2.9-1ubuntu0.2 Feb 14, 2022
libexpat1 · Ubuntu 22.04.1 LTS (jammy) 2.4.3-1 libexpat1 2.4.3-1 Jan 10, 2022
libexpat1 · Ubuntu 24.10 (oracular) 2.4.3-1 libexpat1 2.4.3-1 Jan 16, 2026
libexpat1 · Ubuntu 25.04 (plucky) 2.4.3-1 libexpat1 2.4.3-1 Jan 16, 2026

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.