{"id":"OESA-2026-5157","summary":"expat security update","details":"expat is a stream-oriented XML parser library written in C. expat excels with files too large to fit RAM, and where performance and flexibility are crucial.\r\n\r\nSecurity Fix(es):\n\nlibexpat 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 to consume tens of seconds of CPU per parse.(CVE-2026-115506)\n\nlibexpat 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 entity subparser, causing a later parse to crash the application.(CVE-2026-117610)\n\nlibexpat 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.(CVE-2026-118370)\n\nlibexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.(CVE-2026-124317)","modified":"2026-12-01T05:45:23.050216785Z","published":"2026-11-26T12:13:12Z","upstream":["CVE-2026-115506","CVE-2026-117610","CVE-2026-118370","CVE-2026-124317"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-5157"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115506"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117610"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118370"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124317"}],"affected":[{"package":{"name":"expat","ecosystem":"openEuler:24.03-LTS-SP1","purl":"pkg:rpm/openEuler/expat&distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-33.oe2403sp1"}]}],"ecosystem_specific":{"src":["expat-2.5.0-33.oe2403sp1.src.rpm"],"x86_64":["expat-2.5.0-33.oe2403sp1.x86_64.rpm","expat-debuginfo-2.5.0-33.oe2403sp1.x86_64.rpm","expat-debugsource-2.5.0-33.oe2403sp1.x86_64.rpm","expat-devel-2.5.0-33.oe2403sp1.x86_64.rpm"],"aarch64":["expat-2.5.0-33.oe2403sp1.aarch64.rpm","expat-debuginfo-2.5.0-33.oe2403sp1.aarch64.rpm","expat-debugsource-2.5.0-33.oe2403sp1.aarch64.rpm","expat-devel-2.5.0-33.oe2403sp1.aarch64.rpm"],"noarch":["expat-help-2.5.0-33.oe2403sp1.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-5157.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}