Skip to content
OpenAdvisories

Description

An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.

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.6.2-2 —
Debian 13 expat 2.6.2-2 —
Debian 12 expat 2.5.0-1+deb12u1 DSA-5770-1
Debian 12 libxmltok No fix yet —
Debian 11 expat 2.2.10-2+deb11u6 DLA-3893-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tdom +5 No fix yet —
Ubuntu 26.04 LTS tdom +4 No fix yet —
Ubuntu 25.10 tdom +5 No fix yet —
Ubuntu 24.04 LTS expat 2.6.1-2ubuntu0.1 USN-7000-1
Ubuntu 24.04 LTS tdom +3 No fix yet —
Ubuntu 22.04 LTS expat 2.4.7-1ubuntu0.4 USN-7000-2
Ubuntu 22.04 LTS tdom +4 No fix yet —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS expat 2.2.9-1ubuntu0.7 USN-7000-1
Ubuntu 20.04 LTS tdom +4 No fix yet —
Ubuntu 18.04 LTS gdcm +7 No fix yet —
Ubuntu 16.04 LTS gdcm +6 No fix yet —
Ubuntu Pro 26.04 LTS swish-e No fix yet —
Ubuntu Pro 24.04 LTS libxmltok 1.2-4.1ubuntu2.24.0.4.1+esm1 USN-7001-2
Ubuntu Pro 24.04 LTS swish-e +1 No fix yet —
Ubuntu Pro 22.04 LTS libxmltok 1.2-4ubuntu0.22.04.1~esm3 USN-7001-1
Ubuntu Pro 22.04 LTS swish-e +1 No fix yet —
Ubuntu Pro 20.04 LTS libxmltok 1.2-4ubuntu0.20.04.1~esm3 USN-7001-1
Ubuntu Pro 20.04 LTS swish-e +1 No fix yet —
Ubuntu Pro 18.04 LTS coin3 +2 No fix yet —
Ubuntu Pro 18.04 LTS expat 2.2.5-3ubuntu0.9+esm1 USN-7000-1
Ubuntu Pro 18.04 LTS libxmltok 1.2-4ubuntu0.18.04.1~esm3 USN-7001-1
Ubuntu Pro 16.04 LTS expat 2.1.0-7ubuntu0.16.04.5+esm9 USN-7000-1
Ubuntu Pro 16.04 LTS libxmltok 1.2-3ubuntu0.16.04.1~esm4 USN-7001-1
Ubuntu Pro 16.04 LTS vtk +6 No fix yet —
Ubuntu Pro 14.04 LTS expat 2.1.0-4ubuntu1.4+esm9 USN-7000-1
Ubuntu Pro 14.04 LTS vtk +3 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 expat +1 2.5.0-2.el9_4.1 RHSA-2024:6754
RHEL 8 expat +1 2.2.5-15.el8_10 RHSA-2024:6989

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 expat +1 2.5.0-2.el9_4.1 ALSA-2024:6754
AlmaLinux 8 expat +1 2.2.5-15.el8_10 ALSA-2024:6989

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 expat 2.5.0-2.el9_4.1 RLSA-2024:6754
Rocky Linux 8 expat 2.2.5-15.el8_10 RLSA-2024:6989
ReleasePackageFixed inAdvisory
SLES 15 SP7 mozjs52 52.6.0-150000.3.9.1 SUSE-SU-2025:4512-1
SLES 15 SP7 mozjs60 60.9.0-150200.6.8.1 SUSE-SU-2026:0044-1
SLES 15 SP6 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
SLES 15 SP6 mozjs115 115.4.0-150600.3.3.1 SUSE-SU-2024:3538-1
SLES 15 SP6 mozjs78 78.15.0-150400.3.6.2 SUSE-SU-2024:3554-1
SLES 15 SP5 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
SLES 15 SP5 mozjs78 78.15.0-150400.3.6.2 SUSE-SU-2024:3554-1
SLES 12 SP5 expat 2.1.0-21.37.1 SUSE-SU-2024:3182-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 expat 2.1.0-21.37.1 SUSE-SU-2024:3182-1
SLE Micro 6.1 expat 2.7.1-slfo.1.1_1.1 SUSE-SU-2025:20311-1
SLE Micro 6.0 expat 2.5.0-3.1 SUSE-SU-2025:20207-1, SUSE-SU-2025:20045-1
SLE Micro 5.5 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
SLE Micro 5.4 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
SLE Micro 5.4 mozjs60 60.9.0-150200.6.8.1 SUSE-SU-2026:0044-1
SLE Micro 5.3 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
SLE Micro 5.3 mozjs60 60.9.0-150200.6.8.1 SUSE-SU-2026:0044-1
SLE Micro 5.2 expat 2.2.5-150000.3.30.1 SUSE-SU-2024:3515-1
SLE Micro 5.2 mozjs60 60.9.0-150200.6.8.1 SUSE-SU-2026:0044-1
SLE Micro 5.1 expat 2.2.5-150000.3.30.1 SUSE-SU-2024:3515-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed expat 2.6.3-1.1 openSUSE-SU-2024:14322-1
openSUSE Tumbleweed mozjs115 115.4.0-5.1 openSUSE-SU-2024:14379-1
openSUSE Tumbleweed mozjs128 128.2.0-2.1 openSUSE-SU-2024:14380-1
openSUSE Tumbleweed mozjs78 78.15.0-5.1 openSUSE-SU-2024:14381-1
openSUSE Tumbleweed x3270 4.3-4.1 openSUSE-SU-2024:14328-1
openSUSE Leap 15.6 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
openSUSE Leap 15.6 mozjs115 115.4.0-150600.3.3.1 SUSE-SU-2024:3538-1
openSUSE Leap 15.6 mozjs52 52.6.0-150000.3.9.1 SUSE-SU-2025:4512-1
openSUSE Leap 15.6 mozjs60 60.9.0-150200.6.8.1 SUSE-SU-2026:0044-1
openSUSE Leap 15.6 mozjs78 78.15.0-150400.3.6.2 SUSE-SU-2024:3554-1
openSUSE Leap 15.5 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
openSUSE Leap 15.5 mozjs78 78.15.0-150400.3.6.2 SUSE-SU-2024:3554-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.5 expat 2.4.4-150400.3.22.1 SUSE-SU-2024:3216-1
ReleasePackageFixed inAdvisory
Alpine v3.24 expat 2.6.3-r0 —
Alpine v3.24 qt6-qtwebengine 6.7.2-r6 —
Alpine v3.23 expat 2.6.3-r0 —
Alpine v3.23 qt5-qtwebengine 5.15.17-r3 —
Alpine v3.23 qt6-qtwebengine 6.7.2-r6 —
Alpine v3.22 expat 2.6.3-r0 —
Alpine v3.22 qt5-qtwebengine 5.15.17-r3 —
Alpine v3.22 qt6-qtwebengine 6.7.2-r6 —
Alpine v3.21 expat 2.6.3-r0 —
Alpine v3.21 qt5-qtwebengine 5.15.17-r3 —
Alpine v3.21 qt6-qtwebengine 6.7.2-r6 —
Alpine v3.20 expat 2.6.3-r0 —
Alpine v3.20 qt5-qtwebengine 5.15.16-r12 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 expat 2.6.3-r0 —
Alpine v3.18 expat 2.6.3-r0 —
Alpine v3.17 expat 2.6.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 expat +2 2.6.3-1.amzn2023.0.1 ALAS2023-2024-759
Amazon Linux 2 expat +2 2.1.0-15.amzn2.0.4 ALAS2-2024-2710

Azure Linux

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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 expat +1 2.5.0-2.el9_4.1 ELSA-2024-6754
Oracle Linux 8 expat +1 2.2.5-15.0.1.el8_10 ELSA-2024-6989

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling expat 2.6.3-r0 —

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 1 repository

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

Advisories 48

References