PT-2024-6096 · Libexpat+13 · Libexpat+13

Taiyou

·

Published

2024-08-29

·

Updated

2026-04-01

·

CVE-2024-45490

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libexpat versions prior to 2.6.3
Description The issue is related to a problem in the libexpat library, which is used for parsing XML files. It is caused by the library's failure to properly restrict references to external XML entities. This can allow an attacker to execute arbitrary code. The problem is specifically located in the xmlparse.c file, which does not reject a negative length for XML ParseBuffer.
Recommendations For libexpat versions prior to 2.6.3, update to version 2.6.3 or later to resolve the issue. As a temporary workaround, consider disabling the use of external XML entities in the libexpat library until a patch is available. Restrict access to the xmlparse.c function to minimize the risk of exploitation. Avoid using the XML ParseBuffer function with negative lengths until the issue is resolved.

Fix

DoS

XXE

Integer Overflow

Weakness Enumeration

Related Identifiers

ALSA-2024:6754
ALSA-2024:6989
ALT-PU-2024-17539
AZL-48369
AZL-48372
BDU:2024-07004
CESA-2024_6989
CLEANSTART-2026-EM10970
CLEANSTART-2026-MH09144
CLEANSTART-2026-YT18139
CVE-2024-45490
DLA-3893-1
DSA-5770-1
INFSA-2024_6754
INFSA-2024_6989
MGASA-2024-0294
MGASA-2024-0338
OESA-2024-2102
OESA-2024-2138
OPENSUSE-SU-2024:14322-1
OPENSUSE-SU-2024:14328-1
OPENSUSE-SU-2024:14379-1
OPENSUSE-SU-2024:14380-1
OPENSUSE-SU-2024:14381-1
OPENSUSE-SU-2024_3216-1
OPENSUSE-SU-2024_3538-1
OPENSUSE-SU-2024_3554-1
RHSA-2024:6754
RHSA-2024:6989
RHSA-2024_6754
RHSA-2024_6989
RLSA-2024:6754
RLSA-2024:6989
SUSE-SU-2024:3182-1
SUSE-SU-2024:3216-1
SUSE-SU-2024:3515-1
SUSE-SU-2024:3538-1
SUSE-SU-2024:3554-1
SUSE-SU-2024_3182-1
SUSE-SU-2024_3216-1
SUSE-SU-2024_3538-1
SUSE-SU-2024_3554-1
SUSE-SU-2025:20045-1
SUSE-SU-2025:20207-1
SUSE-SU-2025:20311-1
SUSE-SU-2025:4512-1
SUSE-SU-2026:0044-1
USN-7000-1
USN-7000-2
USN-7001-1
USN-7001-2

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Ibm Aix
Linuxmint
Apple Macos
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libexpat