rpm package
almalinux/expat
pkg:rpm/almalinux/expat
Vulnerabilities (37)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2026-118370 | Med | 5.9 | < 2.5.0-10.el8_10 | 2.5.0-10.el8_10 | Oct 28, 2026 | 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 attrib | |
| CVE-2026-117610 | Med | 5.9 | < 2.5.0-10.el8_10 | 2.5.0-10.el8_10 | Oct 28, 2026 | libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empty non-final first parse on an external enti | |
| CVE-2026-115506 | Hig | 7.5 | < 2.5.0-10.el8_10 | 2.5.0-10.el8_10 | Oct 22, 2026 | libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions | |
| CVE-2026-113351 | Med | 5.9 | < 2.5.0-10.el8_10 | 2.5.0-10.el8_10 | Oct 20, 2026 | libexpat 2.7.2 through 2.9.0 contains a denial of service vulnerability because XML_ParserReset zeroes the direct byte count but never offsets tracked heap allocations. Attackers can submit a large XML document so later documents on the same reset parser fail with XML_ERROR_NO_ME | |
| CVE-2026-77214 | Hig | 8.2 | < 2.5.0-6.el9_8.7 | 2.5.0-6.el9_8.7 | Oct 7, 2026 | libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_Parse | |
| CVE-2026-102633 | Med | 5.9 | < 2.5.0-6.el9_8.7 | 2.5.0-6.el9_8.7 | Sep 29, 2026 | libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in expat_realloc() function on 32-bit platforms when computing allocation sizes. Attackers supplying malicious XML to applications parsing with vulnerable libexpat can cause heap buffer overflow, memo | |
| CVE-2026-93990 | Hig | 7.5 | < 2.5.0-4.el8_10 | 2.5.0-4.el8_10 | Sep 19, 2026 | Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted. Attackers can supply UTF-16 encoded XML containing lone high surrogates that consume the following code unit, causing Exp | |
| CVE-2026-66046 | Hig | 7.5 | < 2.5.0-4.el8_10 | 2.5.0-4.el8_10 | Aug 18, 2026 | Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to de | |
| CVE-2026-56132 | Med | 6.9 | < 2.5.0-2.el8_10.2 | 2.5.0-2.el8_10.2 | Jun 19, 2026 | In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers. | |
| CVE-2026-50219 | Med | 4.9 | < 2.5.0-2.el8_10.2 | 2.5.0-2.el8_10.2 | Jun 4, 2026 | libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur, | |
| CVE-2026-45186 | Low | 2.9 | < 2.7.3-1.el10_2.1 | 2.7.3-1.el10_2.1 | May 10, 2026 | In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input. | |
| CVE-2025-59375 | Hig | 7.5 | < 2.7.1-1.el10_0.3 | 2.7.1-1.el10_0.3 | Sep 15, 2025 | libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing. | |
| CVE-2024-8176 | Hig | 7.5 | < 2.5.0-3.el9_5.3 | 2.5.0-3.el9_5.3 | Mar 14, 2025 | A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and c | |
| CVE-2024-50602 | Med | 5.9 | < 2.2.5-16.el8_10 | 2.2.5-16.el8_10 | Oct 27, 2024 | An issue was discovered in libexpat before 2.6.4. There is a crash within the XML_ResumeParser function because XML_StopParser can stop/suspend an unstarted parser. | |
| CVE-2024-45492 | Cri | 9.8 | < 2.5.0-2.el9_4.1 | 2.5.0-2.el9_4.1 | Aug 30, 2024 | An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX). | |
| CVE-2024-45491 | Cri | 9.8 | < 2.5.0-2.el9_4.1 | 2.5.0-2.el9_4.1 | Aug 30, 2024 | An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX). | |
| CVE-2024-45490 | Hig | 7.5 | < 2.5.0-2.el9_4.1 | 2.5.0-2.el9_4.1 | Aug 30, 2024 | An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer. | |
| CVE-2024-28757 | Hig | 7.5 | < 2.5.0-1.el9_3.1 | 2.5.0-1.el9_3.1 | Mar 10, 2024 | libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate). | |
| CVE-2023-52425 | Hig | 7.5 | < 2.5.0-1.el9_3.1 | 2.5.0-1.el9_3.1 | Feb 4, 2024 | libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large token for which multiple buffer fills are needed. | |
| CVE-2022-43680 | Hig | 7.5 | < 2.2.5-10.el8_7.1 | 2.2.5-10.el8_7.1 | Oct 24, 2022 | In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations. |
- affected < 2.5.0-10.el8_10fixed 2.5.0-10.el8_10
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 attrib
- affected < 2.5.0-10.el8_10fixed 2.5.0-10.el8_10
libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empty non-final first parse on an external enti
- affected < 2.5.0-10.el8_10fixed 2.5.0-10.el8_10
libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions
- affected < 2.5.0-10.el8_10fixed 2.5.0-10.el8_10
libexpat 2.7.2 through 2.9.0 contains a denial of service vulnerability because XML_ParserReset zeroes the direct byte count but never offsets tracked heap allocations. Attackers can submit a large XML document so later documents on the same reset parser fail with XML_ERROR_NO_ME
- affected < 2.5.0-6.el9_8.7fixed 2.5.0-6.el9_8.7
libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_Parse
- affected < 2.5.0-6.el9_8.7fixed 2.5.0-6.el9_8.7
libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in expat_realloc() function on 32-bit platforms when computing allocation sizes. Attackers supplying malicious XML to applications parsing with vulnerable libexpat can cause heap buffer overflow, memo
- affected < 2.5.0-4.el8_10fixed 2.5.0-4.el8_10
Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted. Attackers can supply UTF-16 encoded XML containing lone high surrogates that consume the following code unit, causing Exp
- affected < 2.5.0-4.el8_10fixed 2.5.0-4.el8_10
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to de
- affected < 2.5.0-2.el8_10.2fixed 2.5.0-2.el8_10.2
In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
- affected < 2.5.0-2.el8_10.2fixed 2.5.0-2.el8_10.2
libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,
- affected < 2.7.3-1.el10_2.1fixed 2.7.3-1.el10_2.1
In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.
- affected < 2.7.1-1.el10_0.3fixed 2.7.1-1.el10_0.3
libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.
- affected < 2.5.0-3.el9_5.3fixed 2.5.0-3.el9_5.3
A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and c
- affected < 2.2.5-16.el8_10fixed 2.2.5-16.el8_10
An issue was discovered in libexpat before 2.6.4. There is a crash within the XML_ResumeParser function because XML_StopParser can stop/suspend an unstarted parser.
- affected < 2.5.0-2.el9_4.1fixed 2.5.0-2.el9_4.1
An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX).
- affected < 2.5.0-2.el9_4.1fixed 2.5.0-2.el9_4.1
An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).
- affected < 2.5.0-2.el9_4.1fixed 2.5.0-2.el9_4.1
An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.
- affected < 2.5.0-1.el9_3.1fixed 2.5.0-1.el9_3.1
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
- affected < 2.5.0-1.el9_3.1fixed 2.5.0-1.el9_3.1
libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large token for which multiple buffer fills are needed.
- affected < 2.2.5-10.el8_7.1fixed 2.2.5-10.el8_7.1
In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.
Page 1 of 2