Vulnerability · Published Feb 16, 2022 · Assigned by mitre
CVE-2022-25235
Critical 9.8
In plain English
A critical-severity security flaw in the expat package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.0% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)5.0%top 7.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | expat | 2.2.5-8.el8_6.2 | ALSA-2022:0951 |
| AlmaLinux:8 | expat-devel | 2.2.5-8.el8_6.2 | ALSA-2022:0951 |
| AlmaLinux:8 | firefox | 91.7.0-3.el8_5.alma | ALSA-2022:0818 |
| AlmaLinux:8 | mingw32-expat | 2.4.8-1.el8 | ALSA-2022:7811 |
| AlmaLinux:8 | mingw64-expat | 2.4.8-1.el8 | ALSA-2022:7811 |
| AlmaLinux:8 | thunderbird | 91.7.0-2.el8_5.alma.plus | ALSA-2022:0845 |
| AlmaLinux:8 | thunderbird | 91.7.0-2.el8_5.alma | ALSA-2022:0845 |
| AlmaLinux:8 | xmlrpc-c-c++ | 1.51.0-5.el8_5.1 | ALSA-2022:1643 |
| AlmaLinux:8 | xmlrpc-c-client++ | 1.51.0-5.el8_5.1 | ALSA-2022:1643 |
| AlmaLinux:8 | xmlrpc-c-devel | 1.51.0-5.el8_5.1 | ALSA-2022:1643 |
| Alpine:v3.20 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25235 |
| Alpine:v3.21 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25235 |
| Alpine:v3.22 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25235 |
| Alpine:v3.23 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25235 |
| Alpine:v3.24 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25235 |
| Debian:12 | expat | 2.4.5-1 | DEBIAN-CVE-2022-25235 |
| Debian:13 | expat | 2.4.5-1 | DEBIAN-CVE-2022-25235 |
| Debian:14 | expat | 2.4.5-1 | DEBIAN-CVE-2022-25235 |
| Debian:12 | libxmltok | no fix listed | DEBIAN-CVE-2022-25235 |
| Rocky Linux:8 | expat | 0:2.2.5-4.el8_5.3 | RLSA-2022:0951 |
| Rocky Linux:8 | firefox | 0:91.7.0-3.el8_5 | RLSA-2022:0818 |
| Rocky Linux:8 | thunderbird | 0:91.7.0-2.el8_5 | RLSA-2022:0845 |
| Rocky Linux:8 | xmlrpc-c | 0:1.51.0-5.el8_5.1 | RLSA-2022:1643 |
| Ubuntu:22.04:LTS | firefox | 1:1snap1-0ubuntu1 | UBUNTU-CVE-2022-25235 |
| Ubuntu:24.04:LTS | libxmltok | 1.2-4.1ubuntu1 | UBUNTU-CVE-2022-25235 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:25.10 | matanza | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:25.10 | swish-e | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:22.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:24.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:25.10 | thunderbird | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:26.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-25235 |
| Ubuntu:26.10 | thunderbird | no fix listed | UBUNTU-CVE-2022-25235 |
Affected products (as reported)
Weakness: CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/libexpat/libexpat/pull/562 x_refsource_MISC
- [oss-security] 20220219 Expat 2.4.5 released, includes 5 security fixes mailing-list, x_refsource_MLIST
- DSA-5085 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2022-04f206996b vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-3d9d67f558 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220307 [SECURITY] [DLA 2935-1] expat security update mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220303-0008/ x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf x_refsource_CONFIRM
- GLSA-202209-24 vendor-advisory, x_refsource_GENTOO
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html