In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.
Priority MEDIUM 47CWE-190Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 8 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.04818 92nd percentileScored 2026-11-07
Fix Partial Red Hat: 6 advisoriesRed Hat: 8 fixed, 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | before 2.4.5 | Vulnerable | libexpat project |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:* | 12.2.1.3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:* | 12.2.1.4.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Oracle |
| cpe:2.3:a:siemens:sinema_remote_connect_server:*:*:*:*:*:*:*:* | before 3.1 | Vulnerable | Siemens |
- cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* Versions before 2.4.5 Vulnerable ·libexpat project
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:* Versions 12.2.1.3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:* Versions 12.2.1.4.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Oracle
- cpe:2.3:a:siemens:sinema_remote_connect_server:*:*:*:*:*:*:*:* Versions before 3.1 Vulnerable ·Siemens
Remediation
Red Hat 6 advisories
- RHSA-2025:22871 Released 2025-12-09 · Red Hat rating Importantexpat security update
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2) expat-2.2.10-1.el8_2
- RHSA-2025:22785 Released 2025-12-04 · Red Hat rating Importantexpat security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.4) expat-2.2.10-1.el8_4
- Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) expat-2.2.10-1.el8_4
- RHSA-2022:7811 Released 2022-11-08 · Red Hat rating Importantmingw-expat security update
- Red Hat CodeReady Linux Builder (v. 8) mingw-expat-2.4.8-1.el8, mingw32-expat-2.4.8-1.el8, mingw64-expat-2.4.8-1.el8
Show 3 more Red Hat advisories
- RHSA-2022:7144 Released 2022-10-26 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.51 security update
- Red Hat JBoss Core Services
- RHSA-2022:5244 Released 2022-07-01 · Red Hat rating Moderateexpat security update
- Red Hat Enterprise Linux AppStream (v. 9) expat-devel-2.2.10-12.el9_0.2
- Red Hat Enterprise Linux BaseOS (v. 9) expat-2.2.10-12.el9_0.2
- RHSA-2022:5314 Released 2022-06-30 · Red Hat rating Moderateexpat security update
- Red Hat Enterprise Linux BaseOS (v. 8) expat-2.2.5-8.el8_6.2, expat-devel-2.2.5-8.el8_6.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:7811 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:5244 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:5314 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:5244 |
| Red Hat Enterprise Linux BaseOS AUS (v. 8.2) | Fixed | RHSA-2025:22871 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.4) | Fixed | RHSA-2025:22785 |
| Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) | Fixed | RHSA-2025:22785 |
| Red Hat JBoss Core Services | Fixed | RHSA-2022:7144 |
Not affected: 7 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2)
- Red Hat Enterprise Linux BaseOS AUS (v.8.4)
- Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4)
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25314
- 2026-10-03 Alias added: GHSA-3qc2-95g6-46cj
- 2026-10-09 Fix available: RHSA-2022:7144 · Red Hat
- 2026-10-09 Fix available: Red Hat JBoss Core Services · Red Hat
References
Advisory 8
- https://github.com/libexpat/libexpat/pull/560
- [oss-security] 20220219 Expat 2.4.5 released, includes 5 security fixes
- DSA-5085
- FEDORA-2022-04f206996b
- FEDORA-2022-3d9d67f558
- https://security.netapp.com/advisory/ntap-20220303-0008/
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- GLSA-202209-24
Sources
- CVE-2022-25314 · CVE Program
- CVE-2022-25314 · NVD
- FIRST EPSS
- GHSA-3qc2-95g6-46cj · GitHub Advisory Database · CC BY 4.0
- CVE-2022-25314 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences