Release date:
2026-05-27 11:45:29 UTC
Description:
* SECURITY UPDATE: CVE-2026-7210 + CVE-2026-41080 (paired): backport
the libexpat 16-byte salt API (XML_SetHashSalt16Bytes) into bundled
expat 2.2.8 and wire pyexpat/_elementtree to use it. Together these
restore proper hash-flood mitigation. xml.parsers.expat and
xml.etree.ElementTree previously used only the legacy 8-byte
XML_SetHashSalt API; that salt is brute-forceable with modern
hardware, allowing a crafted XML document to trigger hash
collisions and a denial of service.
- debian/patches/CVE-2026-7210.patch: backport of cpython
24b8f12544 (gh-149018, Stan Ulbrych). Switches pyexpat and
_elementtree to XML_SetHashSalt16Bytes when built/linked against
libexpat >= 2.8.0, falling back to the legacy XML_SetHashSalt on
older expat. Adds a hashsalt16[16] field to _Py_HashSecret_t in
Include/object.h (seeded by _PyRandom_Init alongside prefix /
suffix) and a NULL-able SetHashSalt16Bytes function pointer in
the pyexpat CAPI struct so _elementtree can dispatch at runtime.
No upstream backport to 2.7 exists; upstream backports landed
only to 3.14 / 3.15.
- debian/patches/CVE-2026-41080.patch: backport of libexpat
PR #1183 into the bundled Modules/expat/ tree (libexpat 2.2.8).
Widens m_hash_secret_salt from `unsigned long` to a 128-bit
`struct sipkey` and adds the new public XML_SetHashSalt16Bytes()
entry point. Since pyexpat.so / _elementtree.so are statically
linked against this tree, the cpython half now consumes full
16-byte entropy without requiring an external libexpat
>= 2.8.0 at runtime.
- CVE-2026-7210
- CVE-2026-41080
Updated packages:
-
alt-python27_2.7.18-20_amd64.deb
sha:3c1ea9b7c1a43042dafabbdf04fca989d95ced92
-
alt-python27-debug_2.7.18-20_amd64.deb
sha:e9d6953a4c06dd201b2815b10dd61aca7f5cfc9d
-
alt-python27-devel_2.7.18-20_amd64.deb
sha:220eb0d87f8ab12ed05953aeec94ca308bac5e26
-
alt-python27-idle_2.7.18-20_amd64.deb
sha:b29fd781b9eca2a536ab6379f204e7f5545ec256
-
alt-python27-libs_2.7.18-20_amd64.deb
sha:25fbdb89b47026adac794a74235813b19ade53e8
-
alt-python27-test_2.7.18-20_amd64.deb
sha:9d774ed896e64ee7c8151a9da93746cde07543c6
-
alt-python27-tkinter_2.7.18-20_amd64.deb
sha:e31635a8ee9920038c54156df781fad916ac1e50
-
alt-python27-tools_2.7.18-20_amd64.deb
sha:7c84ec6c36bc640332b11bdd1fdc078b05e36706
-
alt-python27_2.7.18-20_arm64.deb
sha:64781cc91dbb4c542d6fd6a55d3b01f6911c48c1
-
alt-python27-debug_2.7.18-20_arm64.deb
sha:4e03c5cb8908bcd338f02c8a479c37a94e898101
-
alt-python27-devel_2.7.18-20_arm64.deb
sha:c54f374660af56fb6a5dd5aa8f55c5c98ae79827
-
alt-python27-idle_2.7.18-20_arm64.deb
sha:ba81ffdbb770578f1203707b2867b7ce13352be3
-
alt-python27-libs_2.7.18-20_arm64.deb
sha:a4b917230017f525b4ab69558cd2b3709ca0fc9b
-
alt-python27-test_2.7.18-20_arm64.deb
sha:96e00a7b09c71cb665379175aa95d670adfb58b5
-
alt-python27-tkinter_2.7.18-20_arm64.deb
sha:b5168f20dc668ba689fc2a776d23dff49da0f991
-
alt-python27-tools_2.7.18-20_arm64.deb
sha:da6dcede62f80674f0aa00129bf7117e1323deac
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.