CVE and update status of the FreeBSD ports tree4,826 unaddressed CVEs in 618 portsAll times are CET

Port details

textproc/linux-c7-expat-devel2.1.0_1

XML 1.0 parser headers (Linux CentOS 7.9.2009)

Maintainer
emulation@FreeBSD.org
Packages
linux-c7-expat-devel 2.1.0_1
Upstream
up to date
CPE
libexpat_project:libexpat from the port
WWW
https://github.com/libexpat/libexpat
Links
cgit · VuXML

Unaddressed (57) · The CVE record lists this version as affected, no VuXML entry names the CVE

CVE-2024-454929.8published 2024-08-30

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-454919.8published 2024-08-30

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-2022-253159.8published 2022-02-18

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.

CVE-2022-252369.8published 2022-02-16

xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.

CVE-2022-252359.8published 2022-02-16

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.

CVE-2022-238529.8published 2022-01-24

Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.

CVE-2022-228229.8published 2022-01-10

addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

CVE-2022-228249.8published 2022-01-10

defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

CVE-2022-228239.8published 2022-01-10

build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

CVE-2016-07189.8published 2016-05-26

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.

CVE-2022-228268.8published 2022-01-10

nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

CVE-2022-228278.8published 2022-01-10

storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

CVE-2022-228258.8published 2022-01-10

lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

CVE-2021-459608.8published 2022-01-01

In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).

CVE-2026-660468.7published 2026-08-18

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 determine CDATA status. A remote unauthenticated attacker can supply a single wel…

CVE-2022-406748.1published 2022-09-14

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

CVE-2021-461438.1published 2022-01-06

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

CVE-2016-44728.1published 2016-06-30

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 for CVE-2015-1283 and CVE-2015-2716.

CVE-2025-593757.5published 2025-09-15

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-454907.5published 2024-08-30

An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.

CVE-2024-287577.5published 2024-03-10

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-524257.5published 2024-02-04

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-436807.5published 2022-10-24

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.

CVE-2022-253147.5published 2022-02-18

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.

CVE-2022-239907.5published 2022-01-26

Expat (aka libexpat) before 2.4.4 has an integer overflow in the doProlog function.

CVE-2019-159037.5published 2019-09-04

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.

CVE-2018-208437.5published 2019-06-24

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).

CVE-2017-92337.5published 2017-07-25

XML External Entity vulnerability in libexpat 2.2.0 and earlier (Expat XML Parser Library) allows attackers to put the parser in an infinite loop using a malformed external entity definition from an external DTD.

CVE-2016-53007.5published 2016-06-16

The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted identifiers in an XML document. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0876.

CVE-2026-564116.9published 2026-06-21

xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.

CVE-2026-564086.9published 2026-06-21

libexpat before 2.8.2 has an integer overflow in copyString.

CVE-2026-564106.9published 2026-06-21

xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.

CVE-2026-564066.9published 2026-06-21

libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.

CVE-2026-564076.9published 2026-06-21

libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.

CVE-2026-564056.9published 2026-06-21

libexpat before 2.8.2 has an integer overflow in getAttributeId.

CVE-2026-564046.9published 2026-06-21

libexpat before 2.8.2 has an integer overflow in addBinding.

CVE-2026-564036.9published 2026-06-21

libexpat before 2.8.2 has an integer overflow in storeAtts.

CVE-2026-561326.9published 2026-06-19

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-252106.9published 2026-01-30

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.

CVE-2015-12836.8published 2015-07-23

Multiple integer overflows in the XML_GetBuffer function in Expat through 2.1.0, as used in Google Chrome before 44.0.2403.89 and other products, allow remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted XML data, a related issue to CVE-2015-2716.

CVE-2013-03406.8published 2014-01-21

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issu…

CVE-2026-564096.5published 2026-06-21

xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.

CVE-2022-253136.5published 2022-02-18

In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

CVE-2024-506025.9published 2024-10-27

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-2012-67025.9published 2016-06-16

Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.

CVE-2023-524265.5published 2024-02-04

libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.

CVE-2026-769574.9published 2026-08-20

libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.

CVE-2026-564124.9published 2026-06-21

libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.

CVE-2026-561314.9published 2026-06-19

libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).

CVE-2026-502194.9published 2026-06-04

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-327774.0published 2026-03-16

libexpat before 2.7.5 allows an infinite loop while parsing DTD content.

CVE-2026-327764.0published 2026-03-16

libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.

CVE-2026-451862.9published 2026-05-10

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-2026-410802.9published 2026-04-16

libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.

CVE-2026-327782.9published 2026-03-16

libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.

CVE-2026-245152.9published 2026-01-23

In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.

CVE-2025-663822.9published 2025-11-28

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.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (2)

Tijl Coosemans (tijl) · 2.1.0_1
textproc/linux-c7-expat-devel: Update to 2.1.0-15.el7_9
96a81b6772
Felix Palmen (zirias) · 2.1.0
textproc/linux-c7-expat-devel: Add new port

This contains the headers to build Linux software using expat.
Also add USE_LINUX=expat-devel.

Approved by:		tijl, tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D35904
b231953227