{"id":"CLSA-2026-1789394882","summary":"Fix CVE(s): CVE-2026-72522, CVE-2026-76957","details":"   * SECURITY UPDATE: Out-of-bounds read and resultant infinite loop\n     because low surrogates were treated the same as high surrogates in\n     the *_toUtf16 functions (libexpat before 2.8.3)\n     - debian/patches/CVE-2026-72522.patch: mask the high byte of the\n       trailing code unit with 0xFC instead of 0xF8 in the\n       DEFINE_UTF16_TO_UTF16(E) macro in expat/lib/xmltok.c, so the guard\n       that avoids splitting a surrogate pair across two conversion calls\n       matches only genuine high surrogates (0xD800-0xDBFF) and no longer\n       accepts low surrogates (0xDC00-0xDFFF).  On a buffer ending in a\n       lone low surrogate the old test reported\n       XML_CONVERT_INPUT_INCOMPLETE without consuming any input, so the\n       caller retried while reading two bytes past the intended limit.\n       One edit covers both little2_toUtf16 and big2_toUtf16.  Reachable\n       in the libexpatw (-DXML_UNICODE) build, which is where xmlparse.c\n       maps XmlConvert to XmlUtf16Convert.\n     - CVE-2026-72522\n   * SECURITY UPDATE: Use-after-free because handler call depth tracking\n     was missing for custom encoding callbacks (libexpat before 2.8.4)\n     - debian/patches/CVE-2026-76957.patch: route the application's\n       unknown-encoding convert and release callbacks through the new\n       callUnknownEncodingConvert() and callUnknownEncodingRelease()\n       wrappers in expat/lib/xmlparse.c, storing the application callback\n       in the new m_unknownEncodingConvert member and passing the parser\n       itself as the encoding's user data.  handleUnknownEncoding\n       previously handed both callbacks out unwrapped, so\n       m_handlerCallDepth stayed at zero while they ran and the\n       reentrancy guard that rejects XML_ParserFree, XML_GetBuffer and\n       XML_ResumeParser from inside a handler did not fire for them.\n     - CVE-2026-76957","modified":"2026-11-27T16:30:04.760862666Z","published":"2026-09-14T14:08:17Z","upstream":["CVE-2026-72522","CVE-2026-76957"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/debian11els/CLSA-2026-1789394882.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72522"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76957"}],"affected":[{"package":{"name":"expat","ecosystem":"TuxCare:Debian:11","purl":"pkg:deb/tuxcare/expat?distro=debian-11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.10-2+deb11u7+tuxcare.els2"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian11els/CLSA-2026-1789394882.json"}},{"package":{"name":"libexpat1","ecosystem":"TuxCare:Debian:11","purl":"pkg:deb/tuxcare/libexpat1?distro=debian-11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.10-2+deb11u7+tuxcare.els2"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian11els/CLSA-2026-1789394882.json"}},{"package":{"name":"libexpat1-dev","ecosystem":"TuxCare:Debian:11","purl":"pkg:deb/tuxcare/libexpat1-dev?distro=debian-11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.10-2+deb11u7+tuxcare.els2"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian11els/CLSA-2026-1789394882.json"}}],"schema_version":"1.9.2"}