Breaking: Ruby2Shell - Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-25236

expat: Namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution

Overview

Published
16 Feb 2022
Modified
14 Oct 2026
Critical CVE
1 Registry packages
80 OS packages
16 Linux distributions
Yes Fix available

Description

xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-668

Affected packages · 1

Packages affected by CVE-2022-25236
EcosystemPackageVulnerableFixed in
Julia Expat_jll <2.4.8+0 2.4.8+0

Open a package to see all its vulnerabilities.

Operating systems · 93 fixes

Oracle Linux 2 releases · 3 packages

fixed 6
expat thunderbird firefox
Oracle Linux fixes for CVE-2022-25236
ReleasePackageFixed in
7 expat +2 2.1.0-14.0.1.el7_9
7 thunderbird 91.7.0-2.0.1.el7_9
7 firefox 91.7.0-3.0.1.el7_9
8 expat +1 2.2.5-4.el8_5.3
8 thunderbird 91.7.0-2.0.1.el8_5
8 firefox 91.7.0-3.0.1.el8_5

Photon OS 1 release · 1 package

fixed 1
expat
Photon OS fixes for CVE-2022-25236
ReleasePackageFixed in
4.0 expat +3 2.2.9-7.ph4

Red Hat 4 releases · 5 packages

fixed 18 affected 2
expat redhat-virtualization-host-image-update thunderbird firefox mingw32-expat
Red Hat fixes for CVE-2022-25236
ReleasePackageFixed inAdvisory
7 expat +2 0:2.1.0-14.el7_9 RHSA-2022:1069
7 redhat-virtualization-host-image-update 0:4.3.22-20220330.1.el7_9 RHSA-2022:1263
7 thunderbird 0:91.7.0-2.el7_9 RHSA-2022:0850
7 firefox 0:91.7.0-3.el7_9 RHSA-2022:0824
8 expat +1 0:2.2.5-3.el8_1.1 RHSA-2022:1068
8 expat +1 0:2.2.5-3.el8_2.2 RHSA-2022:1070

14 more rows

SUSE Linux Enterprise 3 releases · 2 packages

fixed 4
expat libpython3-11-1-0
SUSE Linux Enterprise fixes for CVE-2022-25236
ReleasePackageFixed inAdvisory
12.5 expat +3 2.1.0-21.18.1 SUSE-SU-2022:0698-1
15.4 expat +3 2.4.4-150400.3.6.9 SUSE-SU-2022:2294-1
15.4 libpython3-11-1-0 +10 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-1
15.5 libpython3-11-1-0 +10 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-1

SUSE Linux Enterprise Micro 5 releases · 2 packages

fixed 5
libexpat1 libpython3-11-1-0
SUSE Linux Enterprise Micro fixes for CVE-2022-25236
ReleasePackageFixed inAdvisory
5.0 libexpat1 2.2.5-3.15.1 SUSE-SU-2022:0713-1
5.1 libexpat1 2.2.5-3.15.1 SUSE-SU-2022:0713-1
5.2 libexpat1 2.2.5-3.19.1 SUSE-SU-2022:0844-2
6.0 libpython3-11-1-0 +3 3.11.8-3.1 SUSE-SU-2025:20025-1
6.1 libpython3-11-1-0 +3 3.11.12-slfo.1.1_1.1 SUSE-SU-2025:20374-1

alma 1 release · 4 packages

fixed 4
expat mingw32-expat thunderbird firefox
alma fixes for CVE-2022-25236
ReleasePackageFixed in
8 expat +1 2.2.5-8.el8_6.2
8 mingw32-expat +1 2.4.8-1.el8
8 thunderbird 91.7.0-2.el8_5.alma
8 firefox 91.7.0-3.el8_5.alma

alpine 4 releases · 1 package

fixed 4
expat
alpine fixes for CVE-2022-25236
ReleasePackageFixed in
3.22 expat 2.4.5-r0
3.23 expat 2.4.5-r0
3.24 expat 2.4.5-r0
edge expat 2.4.5-r0

amazon linux 1 release · 1 package

fixed 1
expat
amazon linux fixes for CVE-2022-25236
ReleasePackageFixed in
2023 expat +4 2.5.0-1.amzn2023.0.2

debian 6 releases · 2 packages

fixed 6 affected 2
expat libxmltok
debian fixes for CVE-2022-25236
ReleasePackageFixed in
10 expat 2.2.6-2+deb10u3
11 libxmltok affected
11 expat 2.2.10-2+deb11u2
12 libxmltok affected
12 expat 2.4.5-1
13 expat 2.4.5-1

2 more rows

echo 1 release · 1 package

fixed 1
expat
echo fixes for CVE-2022-25236
ReleasePackageFixed in
expat 2.4.5-1

openSUSE 1 release · 10 packages

fixed 10
libwbxml2-1 expat python310 python311 python312 python313 +4
openSUSE fixes for CVE-2022-25236
ReleasePackageFixed inAdvisory
Tumbleweed libwbxml2-1 +2 0.11.8-1.1 openSUSE-SU-2024:12622-1
Tumbleweed expat +4 2.4.6-1.1 openSUSE-SU-2024:11866-1
Tumbleweed python310 +5 3.10.5-2.1 openSUSE-SU-2024:12152-1
Tumbleweed python311 +5 3.11.0rc2-1.1 openSUSE-SU-2024:12336-1
Tumbleweed python312 +5 3.12.0a7-1.1 openSUSE-SU-2024:12910-1
Tumbleweed python313 +5 3.13.0~b3-1.1 openSUSE-SU-2024:14109-1

4 more rows

rocky 1 release · 3 packages

fixed 3
expat thunderbird firefox
rocky fixes for CVE-2022-25236
ReleasePackageFixed in
8 expat +1 2.2.5-4.el8_5.3
8 thunderbird 91.7.0-2.el8_5
8 firefox 91.7.0-3.el8_5

root.io debian 3 releases · 1 package

fixed 3
rootio-expat
root.io debian fixes for CVE-2022-25236
ReleasePackageFixed in
11 rootio-expat 2.2.10-2+deb11u2
12 rootio-expat 2.4.5-1
13 rootio-expat 2.4.5-1

seal Red Hat 1 release · 1 package

fixed 1
expat
seal Red Hat fixes for CVE-2022-25236
ReleasePackageFixed in
7 expat +1 2.1.0-15.el7_9+sp999

seal debian 1 release · 1 package

fixed 1
expat
seal debian fixes for CVE-2022-25236
ReleasePackageFixed in
expat +1 2.2.10-2+deb11u5+sp999

ubuntu 7 releases · 6 packages

fixed 18 affected 3
expat libxmltok xmlrpc-c swish-e coin3 firefox
ubuntu fixes for CVE-2022-25236
ReleasePackageFixed in
18.04 expat 2.2.5-3ubuntu0.4
18.04-ESM libxmltok 1.2-4ubuntu0.18.04.1~esm1
18.04-ESM xmlrpc-c 1.33.14-8ubuntu0.18.04.1~esm1
18.04-ESM expat 2.2.5-3ubuntu0.4
18.04-ESM swish-e 2.4.7-5ubuntu1+esm1
18.04-ESM coin3 3.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1

15 more rows

References

Show all 65 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.