Описание
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.
A flaw was found in expat. An integer overflow in the XML attribute parsing logic allows a remote attacker to cause memory corruption and a Denial of Service (DoS). By supplying a specially crafted XML document containing an excessively large number of attributes, an attacker can trigger out-of-bounds memory writes, leading to an application crash.
Отчет
This vulnerability is rated Moderate. A signed integer overflow in storeAtts() can lead to process crash; reliable confidentiality/integrity compromise is not demonstrated on Red Hat platforms. Red Hat scores CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (5.9): Attack Complexity is High because triggering the overflow requires an extreme, multi-gigabyte XML payload with on the order of 2^30 attributes—typically blocked by practical network/memory limits before parse completes. NVD’s higher score (AC:L and I:L) is acknowledged; RH retains AC:H and I:N given payload prerequisites and platform allocator hardening (CME-117), while keeping A:H for crash/DoS.
Меры по смягчению последствий
Reject oversized or attribute-dense untrusted XML before parsing; multi-gigabyte documents with huge attribute counts are required to hit the overflow. Apply process/cgroup memory limits to XML-handling workloads. Isolate XML-facing services and restrict to trusted sources.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | firefox | Affected | ||
| Red Hat Enterprise Linux 10 | thunderbird | Affected | ||
| Red Hat Enterprise Linux 6 | compat-expat1 | Out of support scope | ||
| Red Hat Enterprise Linux 6 | expat | Out of support scope | ||
| Red Hat Enterprise Linux 7 | expat | Affected | ||
| Red Hat Enterprise Linux 7 | firefox | Affected | ||
| Red Hat Enterprise Linux 8 | firefox | Affected | ||
| Red Hat Enterprise Linux 8 | mingw-expat | Affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Affected | ||
| Red Hat Enterprise Linux 8 | xmlrpc-c | Affected |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
5.9 Medium
CVSS3
Связанные уязвимости
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.
libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes
libexpat through 2.9.0 contains a signed integer overflow vulnerabilit ...
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.
EPSS
5.9 Medium
CVSS3