{"id":"OESA-2026-2857","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 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-56131)\n\nIn 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-56132)","modified":"2026-07-06T06:45:19.556724861Z","published":"2026-07-06T06:28:46Z","upstream":["CVE-2026-56131","CVE-2026-56132"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2857"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56131"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56132"}],"affected":[{"package":{"name":"expat","ecosystem":"openEuler:20.03-LTS-SP4","purl":"pkg:rpm/openEuler/expat&distro=openEuler-20.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.9-27.oe2003sp4"}]}],"ecosystem_specific":{"x86_64":["expat-2.2.9-27.oe2003sp4.x86_64.rpm","expat-debuginfo-2.2.9-27.oe2003sp4.x86_64.rpm","expat-debugsource-2.2.9-27.oe2003sp4.x86_64.rpm","expat-devel-2.2.9-27.oe2003sp4.x86_64.rpm"],"src":["expat-2.2.9-27.oe2003sp4.src.rpm"],"noarch":["expat-help-2.2.9-27.oe2003sp4.noarch.rpm"],"aarch64":["expat-2.2.9-27.oe2003sp4.aarch64.rpm","expat-debuginfo-2.2.9-27.oe2003sp4.aarch64.rpm","expat-debugsource-2.2.9-27.oe2003sp4.aarch64.rpm","expat-devel-2.2.9-27.oe2003sp4.aarch64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-2857.json"}}],"schema_version":"1.7.5"}