Vulnerability · Published Feb 18, 2022 · Assigned by mitre
CVE-2022-25314
High 7.5
In plain English
A high-severity integer overflow 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 4.8% (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)7.5High
Exploit odds (30 days)4.8%top 8.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | expat | 2.2.5-8.el8_6.2 | ALSA-2022:5314 |
| AlmaLinux:9 | expat | 2.2.10-12.el9_0.2 | ALSA-2022:5244 |
| AlmaLinux:8 | expat-devel | 2.2.5-8.el8_6.2 | ALSA-2022:5314 |
| AlmaLinux:9 | expat-devel | 2.2.10-12.el9_0.2 | ALSA-2022:5244 |
| AlmaLinux:8 | mingw32-expat | 2.4.8-1.el8 | ALSA-2022:7811 |
| AlmaLinux:8 | mingw64-expat | 2.4.8-1.el8 | ALSA-2022:7811 |
| Alpine:v3.20 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25314 |
| Alpine:v3.21 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25314 |
| Alpine:v3.22 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25314 |
| Alpine:v3.23 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25314 |
| Alpine:v3.24 | expat | 2.4.5-r0 | ALPINE-CVE-2022-25314 |
| Debian:12 | expat | 2.4.5-1 | DEBIAN-CVE-2022-25314 |
| Debian:13 | expat | 2.4.5-1 | DEBIAN-CVE-2022-25314 |
| Debian:14 | expat | 2.4.5-1 | DEBIAN-CVE-2022-25314 |
| Debian:12 | libxmltok | no fix listed | DEBIAN-CVE-2022-25314 |
| Rocky Linux:8 | expat | 0:2.2.5-8.el8_6.2 | RLSA-2022:5314 |
| Ubuntu:22.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:24.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | cadaver | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | cadaver | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:22.04:LTS | firefox | 1:1snap1-0ubuntu1 | UBUNTU-CVE-2022-25314 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | matanza | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | swish-e | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:22.04:LTS | tdom | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:24.04:LTS | tdom | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | tdom | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.04:LTS | tdom | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | tdom | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:22.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:24.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | thunderbird | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | thunderbird | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:22.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:24.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | wbxml2 | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | wbxml2 | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:25.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.04:LTS | xmlrpc-c | no fix listed | UBUNTU-CVE-2022-25314 |
| Ubuntu:26.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2022-25314 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/libexpat/libexpat/pull/560 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
- 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