FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

expat2 -- Out-of-bounds Read

Affected packages
expat2 < 2.8.4

Details

VuXML ID 11ab3b16-a65d-11f1-a49c-00a0980083d7
Discovery 2026-08-20
Entry 2026-09-01

https://github.com/libexpat/libexpat/pull/1331 reports:

Expat through 2.8.3 contains an out-of-bounds read vulnerability that allows attackers to trigger memory corruption by processing XML with external entity parsers created via XML_ExternalEntityParserCreate. A struct size mismatch between ELEMENT_TYPE members causes storeAtts to read the attIndex member past allocated memory boundaries, resulting in failure to normalize whitespace in non-CDATA attributes or a wild pointer dereference causing a segfault. This vulnerability was introduced by the fix for CVE-2026-66046.

References

CVE Name CVE-2026-76641
URL https://cveawg.mitre.org/api/cve/CVE-2026-76641