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,
Product
ubuntu/libxmltok vulnerabilities
52 published CVES affecting ubuntu/libxmltok, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 52
- Critical
- 7
- High
- 25
- Medium
- 19
- Low
- 1
- Unscored
- 0
- CISA KEV
- 0
Latest ubuntu/libxmltok CVEs
Newest publication first · page 2 of 3
-
MediumCVSS 5.9 EPSS 0.19%
-
HighCVSS 7.5 EPSS 0.49%
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.
-
MediumCVSS 5.5 EPSS 0.19%
libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.
-
HighCVSS 7.8 EPSS 0.21%
In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.
-
LowCVSS 2.5 EPSS 0.20%
In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.
-
MediumCVSS 5.5 EPSS 0.22%
In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
-
HighCVSS 7.5 EPSS 1.5%
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 Libexpat: expat: improper restriction of xml entity expansion depth in libexpat
PublishedHighCVSS 7.5 EPSS 1.4%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...
-
CriticalCVSS 9.8 EPSS 1.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).
-
HighCVSS 7.5 EPSS 1.7%
An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.
-
HighCVSS 7.5 EPSS 2.0%
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
-
HighCVSS 7.5 EPSS 2.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.
-
CriticalCVSS 9.8 EPSS 5.0%
xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.
-
CriticalCVSS 9.8 EPSS 35.0%
xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.
-
CriticalCVSS 9.8 EPSS 5.4%
addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
CriticalCVSS 9.8 EPSS 3.8%
build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
CriticalCVSS 9.8 EPSS 3.8%
defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
CVE-2022-22825 lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
PublishedHighCVSS 8.8 EPSS 3.0%lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
HighCVSS 8.8 EPSS 3.2%
nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
CVE-2022-22827 storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
PublishedHighCVSS 8.8 EPSS 3.2%storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
HighCVSS 7.8 EPSS 4.4%
In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.
-
HighCVSS 7.5 EPSS 6.6%
In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted in a heap-based buffer over-read.
-
HighCVSS 7.5 EPSS 7.1%
In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for denial-of-service attacks).
-
HighCVSS 8.1 EPSS 11.9%
The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via crafted XML data. NOTE: this vulnerability exists because of an incomplete fix fo...
-
CriticalCVSS 9.8 EPSS 13.3%
Expat allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a malformed input document, which triggers a buffer overflow.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.