CVE Vulnerabilities

CVE-2024-28757

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Published: Mar 10, 2024 | Modified: Nov 04, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).

Weakness

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Affected Software

NameVendorStart VersionEnd Version
LibexpatLibexpat_project*2.6.2 (excluding)
Red Hat Enterprise Linux 8RedHatexpat-0:2.5.0-1.el8_10*
Red Hat Enterprise Linux 9RedHatexpat-0:2.5.0-2.el9_4*
Red Hat Enterprise Linux 9RedHatexpat-0:2.5.0-1.el9_3.1*
Red Hat Enterprise Linux 9RedHatexpat-0:2.5.0-2.el9_4*
Red Hat Enterprise Linux 9RedHatexpat-0:2.5.0-1.el9_3.1*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatexpat-0:2.5.0-1.el9_2.1*
CadaverUbuntufocal*
CadaverUbuntumantic*
CadaverUbuntuoracular*
CadaverUbuntuplucky*
Coin3Ubuntutrusty/esm*
ExpatUbuntuesm-infra-legacy/trusty*
ExpatUbuntuesm-infra/bionic*
ExpatUbuntuesm-infra/focal*
ExpatUbuntuesm-infra/xenial*
ExpatUbuntufocal*
ExpatUbuntujammy*
ExpatUbuntumantic*
ExpatUbuntutrusty/esm*
Insighttoolkit4Ubuntufocal*
LibxmltokUbuntuesm-apps/bionic*
LibxmltokUbuntuesm-apps/focal*
LibxmltokUbuntuesm-apps/jammy*
LibxmltokUbuntuesm-apps/noble*
LibxmltokUbuntuesm-apps/xenial*
LibxmltokUbuntufocal*
LibxmltokUbuntujammy*
LibxmltokUbuntumantic*
LibxmltokUbuntunoble*
LibxmltokUbuntuoracular*
LibxmltokUbuntuplucky*
MatanzaUbuntudevel*
MatanzaUbuntuesm-apps/bionic*
MatanzaUbuntuesm-apps/focal*
MatanzaUbuntuesm-apps/jammy*
MatanzaUbuntuesm-apps/noble*
MatanzaUbuntuesm-apps/xenial*
MatanzaUbuntufocal*
MatanzaUbuntujammy*
MatanzaUbuntumantic*
MatanzaUbuntunoble*
MatanzaUbuntuoracular*
MatanzaUbuntuplucky*
MatanzaUbuntuquesting*
Swish-eUbuntufocal*
Swish-eUbuntumantic*
Swish-eUbuntuoracular*
Swish-eUbuntuplucky*
TdomUbuntufocal*
TdomUbuntumantic*
TdomUbuntuoracular*
TdomUbuntuplucky*
Vnc4Ubuntutrusty/esm*
VtkUbuntutrusty/esm*
Wbxml2Ubuntufocal*
Wbxml2Ubuntumantic*
Wbxml2Ubuntuoracular*
Wbxml2Ubuntuplucky*
Xmlrpc-cUbuntufocal*
Xmlrpc-cUbuntumantic*
Xmlrpc-cUbuntuoracular*
Xmlrpc-cUbuntuplucky*
Xmlrpc-cUbuntutrusty/esm*

Potential Mitigations

References