[CLSA-2026:1788369761] Fix CVE(s): CVE-2026-56131, CVE-2026-76957
Type:
security
Severity:
Critical
Release date:
2026-09-09 09:35:49 UTC
Description:
* SECURITY UPDATE: Use-after-free because the application-supplied XML_Encoding.convert and XML_Encoding.release callbacks were left outside handler call depth tracking, so a same-parser call made from inside them freed state the running parse still owned (libexpat before 2.8.4) - debian/patches/CVE-2026-76957.patch: install the trampolines callUnknownEncodingConvert() and callUnknownEncodingRelease() in handleUnknownEncoding(), passing the parser itself to XmlInitUnknownEncoding() as the converter's user data, so the reentrancy counter is bumped around the application callbacks and the existing forbidden-call rejection rules apply to them too; routing release through the trampoline also clears m_unknownEncodingRelease/m_unknownEncodingData so it runs exactly once on every path; also carries upstream's regression test into tests/runtests.c (2.2.6 has neither tests/misc_tests.c nor tests/handlers.c, so the test brings a local equivalent of forbidden_calls_character_handler()) - CVE-2026-76957 * SECURITY UPDATE: Use-after-free because handler call depth tracking was absent entirely, leaving XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, XML_ParserReset and XML_ResumeParser callable from inside a handler, and the XML_TOK_DATA_CHARS handler calls in doCdataSection() untracked (libexpat before 2.8.2) - debian/patches/CVE-2026-56131.patch: introduce m_handlerCallDepth with beforeHandler()/afterHandler() around every handler invocation and isCalledFromInsideHandler() guards on the six affected entry points; this is the prerequisite the CVE-2026-76957 fix builds on, and it is the same 33-commit backport already shipped for expat 2.2.5 on ubuntu18.04els, regenerated against 2.2.6 - CVE-2026-56131 - CVE-2026-50219 - CVE-2026-56412
Updated packages:
  • expat_2.2.6-2+deb10u7+tuxcare.els9_amd64.deb
    sha:e810095d1e01034c327c35e89a9397fa4175dedd
  • libexpat1_2.2.6-2+deb10u7+tuxcare.els9_amd64.deb
    sha:15fab5933bcea4aeff5287c51238a82c4a4c2644
  • libexpat1-dev_2.2.6-2+deb10u7+tuxcare.els9_amd64.deb
    sha:e6e7343cd50ea3c457b95fe1ce1adc6122158758
  • expat_2.2.6-2+deb10u7+tuxcare.els9_arm64.deb
    sha:34e4adef102d249a89aeee02d6989db79dc5eccd
  • libexpat1_2.2.6-2+deb10u7+tuxcare.els9_arm64.deb
    sha:02a5eaf2075c96a0afe2314cf570a362da024a68
  • libexpat1-dev_2.2.6-2+deb10u7+tuxcare.els9_arm64.deb
    sha:7007c318bd288b56e171e21fc8e68e9693d5a9cd
  • expat_2.2.6-2+deb10u7+tuxcare.els9_armel.deb
    sha:9e7e6f4d93afb839652bcd2f795dbd466fa51fb2
  • libexpat1_2.2.6-2+deb10u7+tuxcare.els9_armel.deb
    sha:c51461b6023e9586741b11affd06ac130b412715
  • libexpat1-dev_2.2.6-2+deb10u7+tuxcare.els9_armel.deb
    sha:45a66dfdf31e846c3d7d9586e3a5f7cb2b1043b2
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.