Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-32414

Опубликовано: 08 апр. 2025
Источник: redhat
CVSS3: 5.6
EPSS Низкий

Описание

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.

A flaw was found in libxml2. This vulnerability allows out-of-bounds memory access due to incorrect handling of return values in xmlPythonFileRead and xmlPythonFileReadRaw. This is caused by a mismatch between the length of the file in bytes vs the length in characters, as unicode characters can occupy up to 4 bytes per character.

Отчет

This bug affects parsing of text streams using:

  • the Python bindings (pending deprecation: https://gitlab.gnome.org/GNOME/libxml2/-/issues/891)
  • the libxml2 SAX driver drv_libxml2,
  • the XML Reader API Parsing of binary streams is not affected by this vulnerability. Within regulated environments, a combination of the following controls acts as a significant barrier to successfully exploiting a CWE-393: Return of Wrong Status Code vulnerability and therefore downgrades the severity of this particular CVE from Moderate to Low. The platform enforces hardening guidelines to apply the most restrictive settings necessary for operational needs, while baseline configurations maintain secure system and software states. A defense-in-depth monitoring strategy includes perimeter firewalls and endpoint protection services that detect and respond to threats in real time, helping prevent or limit exploitation attempts. Robust input validation and error handling ensure all user inputs are thoroughly validated, supporting consistent and secure system responses.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6libxml2Affected
Red Hat Enterprise Linux 10libxml2FixedRHSA-2025:1342907.08.2025
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibxml2FixedRHSA-2025:1224030.07.2025
Red Hat Enterprise Linux 8libxml2FixedRHSA-2025:895811.06.2025
Red Hat Enterprise Linux 8libxml2FixedRHSA-2025:895811.06.2025
Red Hat Enterprise Linux 8.2 Advanced Update Supportlibxml2FixedRHSA-2025:1223730.07.2025
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibxml2FixedRHSA-2025:1224130.07.2025
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibxml2FixedRHSA-2025:1224130.07.2025
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibxml2FixedRHSA-2025:1209829.07.2025
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicelibxml2FixedRHSA-2025:1209829.07.2025

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-393
https://bugzilla.redhat.com/show_bug.cgi?id=2358121libxml2: Out-of-Bounds Read in libxml2

EPSS

Процентиль: 10%
0.00037
Низкий

5.6 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.6
ubuntu
7 месяцев назад

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.

CVSS3: 5.6
nvd
7 месяцев назад

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.

CVSS3: 7.5
msrc
5 месяцев назад

Описание отсутствует

CVSS3: 5.6
debian
7 месяцев назад

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memor ...

CVSS3: 7.5
redos
6 месяцев назад

Уязвимость python2-libxml2

EPSS

Процентиль: 10%
0.00037
Низкий

5.6 Medium

CVSS3