{"id":"OESA-2026-5158","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 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)","modified":"2026-12-01T05:45:22.265522739Z","published":"2026-11-26T12:13:12Z","upstream":["CVE-2026-115506","CVE-2026-118370"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-5158"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115506"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118370"}],"affected":[{"package":{"name":"expat","ecosystem":"openEuler:24.03-LTS-SP3","purl":"pkg:rpm/openEuler/expat&distro=openEuler-24.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-33.oe2403sp3"}]}],"ecosystem_specific":{"noarch":["expat-help-2.5.0-33.oe2403sp3.noarch.rpm"],"src":["expat-2.5.0-33.oe2403sp3.src.rpm"],"x86_64":["expat-2.5.0-33.oe2403sp3.x86_64.rpm","expat-debuginfo-2.5.0-33.oe2403sp3.x86_64.rpm","expat-debugsource-2.5.0-33.oe2403sp3.x86_64.rpm","expat-devel-2.5.0-33.oe2403sp3.x86_64.rpm"],"aarch64":["expat-2.5.0-33.oe2403sp3.aarch64.rpm","expat-debuginfo-2.5.0-33.oe2403sp3.aarch64.rpm","expat-debugsource-2.5.0-33.oe2403sp3.aarch64.rpm","expat-devel-2.5.0-33.oe2403sp3.aarch64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-5158.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}