Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2022-25236 EUVD-2022-29934GHSA-3c6c-gjpg-qq92

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

Published Feb 16, 2022 · Updated Oct 14, 2026 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 expat 2.4.5-1 —
Debian 13 expat 2.4.5-1 —
Debian 12 expat 2.4.5-1 —
Debian 12 libxmltok No fix yet —
Debian 11 expat 2.2.10-2+deb11u2 DSA-5085-1
Debian 10 expat 2.2.6-2+deb10u3 DSA-5085-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 expat 2.2.0-2+deb9u5 DLA-2935-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tdom +3 No fix yet —
Ubuntu 26.04 LTS matanza +1 No fix yet —
Ubuntu 25.10 matanza +2 No fix yet —
Ubuntu 24.04 LTS libxmltok 1.2-4.1ubuntu1 —
Ubuntu 24.04 LTS matanza +1 No fix yet —
Ubuntu 22.04 LTS firefox 1:1snap1-0ubuntu1 —
Ubuntu 22.04 LTS matanza +1 No fix yet —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS expat 2.2.9-1ubuntu0.2 USN-5288-1
Ubuntu 20.04 LTS matanza No fix yet —
Ubuntu 18.04 LTS expat 2.2.5-3ubuntu0.4 USN-5288-1
Ubuntu 18.04 LTS tdom +1 No fix yet —
Ubuntu 16.04 LTS matanza +1 No fix yet —
Ubuntu Pro 26.04 LTS swish-e 2.4.7-7.1ubuntu0.1~esm1 —
Ubuntu Pro 24.04 LTS swish-e 2.4.7-6.2ubuntu0.1~esm1 —
Ubuntu Pro 24.04 LTS xmlrpc-c 1.33.14-12ubuntu0.1~esm1 USN-8313-1
Ubuntu Pro 22.04 LTS libxmltok 1.2-4ubuntu0.22.04.1~esm1 USN-5455-1
Ubuntu Pro 22.04 LTS swish-e 2.4.7-6.1ubuntu0.1~esm1 —
Ubuntu Pro 22.04 LTS xmlrpc-c 1.33.14-10ubuntu0.1~esm1 USN-8313-1
Ubuntu Pro 20.04 LTS libxmltok 1.2-4ubuntu0.20.04.1~esm1 USN-5455-1
Ubuntu Pro 20.04 LTS swish-e 2.4.7-6ubuntu0.1~esm1 —
Ubuntu Pro 20.04 LTS xmlrpc-c 1.33.14-8ubuntu0.20.04.1~esm1 USN-8313-1
Ubuntu Pro 18.04 LTS coin3 3.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1 —
Ubuntu Pro 18.04 LTS libxmltok 1.2-4ubuntu0.18.04.1~esm1 USN-5455-1
Ubuntu Pro 18.04 LTS swish-e 2.4.7-5ubuntu1+esm1 —
Ubuntu Pro 18.04 LTS xmlrpc-c 1.33.14-8ubuntu0.18.04.1~esm1 USN-8313-1
Ubuntu Pro 16.04 LTS ayttm 0.6.3-3ubuntu0.1~esm1 USN-8314-1
Ubuntu Pro 16.04 LTS cableswig 0.1.0+git20150808-2ubuntu0.1~esm1 USN-8316-1
Ubuntu Pro 16.04 LTS coin3 3.1.4~abc9f50+dfsg1-1ubuntu0.1~esm2 —
Ubuntu Pro 16.04 LTS expat 2.1.0-7ubuntu0.16.04.5+esm2 USN-5288-1
Ubuntu Pro 16.04 LTS insighttoolkit 3.20.1+git20120521-6ubuntu0.1~esm1 —
Ubuntu Pro 16.04 LTS libxmltok 1.2-3ubuntu0.16.04.1~esm2 USN-5455-1
Ubuntu Pro 16.04 LTS swish-e 2.4.7-4ubuntu0.1~esm1 —
Ubuntu Pro 16.04 LTS xmlrpc-c 1.33.14-1ubuntu1+esm1 USN-8313-1
Ubuntu Pro 14.04 LTS coin3 3.1.4~abc9f50-4ubuntu2+esm2 —
Ubuntu Pro 14.04 LTS expat 2.1.0-4ubuntu1.4+esm4 USN-5288-1
Ubuntu Pro 14.04 LTS xmlrpc-c 1.33.06-0ubuntu1+esm1 USN-8313-1
ReleasePackageFixed inAdvisory
RHEL 8 expat +1 2.2.5-4.el8_5.3 RHSA-2022:0951
RHEL 8 firefox 91.7.0-3.el8_5 RHSA-2022:0818
RHEL 8 mingw-expat +2 2.4.8-1.el8 RHSA-2022:7811
RHEL 8 thunderbird 91.7.0-2.el8_5 RHSA-2022:0845
RHEL 7 expat +2 2.1.0-14.el7_9 RHSA-2022:1069
RHEL 7 firefox 91.7.0-3.el7_9 RHSA-2022:0824
RHEL 7 redhat-virtualization-host +1 4.3.22-20220330.1.el7_9 RHSA-2022:1263
RHEL 7 thunderbird 91.7.0-2.el7_9 RHSA-2022:0850
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 redhat-virtualization-host +1 4.4.10-202203211649_8.5 RHSA-2022:1053
RHEL 8.4 EUS expat +1 2.2.5-4.el8_4.2 RHSA-2022:1012
RHEL 8.4 EUS firefox 91.7.0-3.el8_4 RHSA-2022:0817
RHEL 8.4 EUS thunderbird 91.7.0-2.el8_4 RHSA-2022:0853
RHEL 8.2 EUS expat +1 2.2.5-3.el8_2.2 RHSA-2022:1070
RHEL 8.2 EUS firefox 91.7.0-3.el8_2 RHSA-2022:0816
RHEL 8.2 EUS thunderbird 91.7.0-2.el8_2 RHSA-2022:0843
RHEL 8.1 E4S expat +1 2.2.5-3.el8_1.1 RHSA-2022:1068
RHEL 8.1 E4S firefox 91.7.0-3.el8_1 RHSA-2022:0815
RHEL 8.1 E4S thunderbird 91.7.0-2.el8_1 RHSA-2022:0847
RHEL 6 ELS expat +1 2.0.1-14.el6_10 RHSA-2022:1309

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 expat +1 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 +1 2.4.8-1.el8 ALSA-2022:7811
AlmaLinux 8 thunderbird 91.7.0-2.el8_5.alma ALSA-2022:0845

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 expat 2.2.5-4.el8_5.3 RLSA-2022:0951
Rocky Linux 8 firefox 91.7.0-3.el8_5 RLSA-2022:0818
Rocky Linux 8 thunderbird 91.7.0-2.el8_5 RLSA-2022:0845
ReleasePackageFixed inAdvisory
SLES 15 SP4 expat 2.4.4-150400.3.6.9 SUSE-SU-2022:2294-1
SLES 15 SP4 python311 +2 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-2, SUSE-SU-2024:0782-1
SLES 15 SP3 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLES 15 SP3 python39 +1 3.9.18-150300.4.38.1 SUSE-SU-2024:0784-1
SLES 15 SP2 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLES 15 SP1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLES 15 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
Show 37 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLES 12 SP4 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLES 12 SP3 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLES 12 SP2 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLES 11 SP4 expat 2.0.1-88.42.18.1 SUSE-SU-2022:14934-1, SUSE-SU-2022:14903-1
SLES 3 python311 +2 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-1
SLES for SAP 15 SP4 python311 +2 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-1
SLES for SAP 15 SP3 python39 +1 3.9.18-150300.4.38.1 SUSE-SU-2024:0784-1
SLES for SAP 15 SP2 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLES for SAP 15 SP1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLES for SAP 15 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLES for SAP 12 SP5 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLES for SAP 12 SP4 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLES for SAP 12 SP3 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SLE Real Time 15 SP2 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLE Micro 6.1 python311 +1 3.11.12-slfo.1.1_1.1 SUSE-SU-2025:20374-1
SLE Micro 6.0 python311 +1 3.11.8-3.1 SUSE-SU-2025:20154-1, SUSE-SU-2025:20025-1
SLE Micro 5.2 expat 2.2.5-3.19.1 SUSE-SU-2022:0844-2
SLE Micro 5.1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLE Micro 5.0 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLE HPC 15 SP4 python311 +2 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-1
SLE HPC 15 SP3 python39 +1 3.9.18-150300.4.38.1 SUSE-SU-2024:0784-1
SLE HPC 15 SP2 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLE HPC 15 SP1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SLE HPC 15 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SUSE OpenStack Cloud Crowbar 9 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SUSE OpenStack Cloud Crowbar 8 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SUSE OpenStack Cloud 9 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SUSE OpenStack Cloud 8 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SUSE Manager Server 4.1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SUSE Manager Retail Branch Server 4.1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SUSE Manager Proxy 4.1 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SUSE Linux Enterprise Point of Sale 11 SP3 expat 2.0.1-88.42.18.1 SUSE-SU-2022:14934-1, SUSE-SU-2022:14903-1
SUSE HPE Helion OpenStack 8 expat 2.1.0-21.18.1 SUSE-SU-2022:0842-1, SUSE-SU-2022:0698-1
SUSE Enterprise Storage 7.1 python39 +1 3.9.18-150300.4.38.1 SUSE-SU-2024:0784-1
SUSE Enterprise Storage 7 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
SUSE Enterprise Storage 6 expat 2.2.5-3.15.1 SUSE-SU-2022:0844-1, SUSE-SU-2022:0713-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed expat 2.4.6-1.1 openSUSE-SU-2024:11866-1
openSUSE Tumbleweed python310 3.10.5-2.1 openSUSE-SU-2024:12152-1
openSUSE Tumbleweed python311 3.11.0rc2-1.1 openSUSE-SU-2024:12336-1
openSUSE Tumbleweed python312 3.12.0a7-1.1 openSUSE-SU-2024:12910-1
openSUSE Tumbleweed python313 3.13.0~b3-1.1 openSUSE-SU-2024:14109-1
openSUSE Tumbleweed python314 3.14.0~a1-1.1 openSUSE-SU-2024:14434-1
openSUSE Tumbleweed python315 3.15.0~a1-1.1 openSUSE-SU-2025:15713-1
openSUSE Tumbleweed python38 3.8.14-1.1 openSUSE-SU-2024:12341-1
openSUSE Tumbleweed python39 3.9.13-2.1 openSUSE-SU-2024:12150-1
openSUSE Leap 15.5 python311 +2 3.11.8-150400.9.23.1 SUSE-SU-2024:0782-1
openSUSE Leap 15.5 python39 +2 3.9.18-150300.4.38.1 SUSE-SU-2024:0784-1
openSUSE Leap 15.4 expat 2.4.4-150400.3.6.9 SUSE-SU-2022:2294-1
openSUSE Leap 15.3 expat 2.2.5-3.15.1 openSUSE-SU-2022:0844-1, openSUSE-SU-2022:0713-1
ReleasePackageFixed inAdvisory
Alpine v3.24 expat 2.4.5-r0 —
Alpine v3.23 expat 2.4.5-r0 —
Alpine v3.22 expat 2.4.5-r0 —
Alpine v3.21 expat 2.4.5-r0 —
Alpine v3.20 expat 2.4.5-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 expat 2.4.5-r0 —
Alpine v3.18 expat 2.4.5-r0 —
Alpine v3.17 expat 2.4.5-r0 —
Alpine v3.16 expat 2.4.5-r0 —
Alpine v3.15 expat 2.4.5-r0 —
Alpine v3.14 expat 2.4.5-r0 —
Alpine v3.13 expat 2.2.10-r4 —
Alpine v3.12 expat 2.2.10-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 expat +2 2.5.0-1.amzn2023.0.2 ALAS2023-2023-058
Amazon Linux 2 expat +2 2.1.0-12.amzn2.0.3 ALAS2-2022-1764
Amazon Linux 2 thunderbird 91.7.0-2.amzn2.0.1 ALAS2-2022-1779

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) expat 2.4.8-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 expat +1 2.2.5-4.el8_5.3 ELSA-2022-0951
Oracle Linux 8 firefox 91.7.0-3.0.1.el8_5 ELSA-2022-0818
Oracle Linux 8 thunderbird 91.7.0-2.0.1.el8_5 ELSA-2022-0845
Oracle Linux 7 expat +2 2.1.0-14.0.1.el7_9 ELSA-2022-1069
Oracle Linux 7 firefox 91.7.0-3.0.1.el7_9 ELSA-2022-0824
Oracle Linux 7 thunderbird 91.7.0-2.0.1.el7_9 ELSA-2022-0850

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 50

References