Release date:
2026-05-27 13:16:54 UTC
Description:
- CVE-2026-7210 + CVE-2026-41080 (paired): backport 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.
* CVE-2026-7210 (cpython side, gh-149018 / 24b8f12): xml.parsers.expat
and xml.etree.ElementTree used the legacy 8-byte XML_SetHashSalt
API, which can be brute-forced to trigger hash collisions. Adds a
hashsalt16[16] field to _Py_HashSecret_t in Include/object.h
(seeded by _PyRandom_Init), exposes a NULL-able SetHashSalt16Bytes
function pointer in the pyexpat CAPI struct, and prefers the new
16-byte API whenever XML_COMBINED_VERSION >= 20800.
* CVE-2026-41080 (libexpat side, PR #1183): widens m_hash_secret_salt
in the bundled libexpat 2.2.8 source tree (Modules/expat/) from
`unsigned long` to a `struct sipkey` (128 bits) and adds the new
public XML_SetHashSalt16Bytes() entry point. The bundled
pyexpat.so / _elementtree.so are statically linked against this
tree, so the cpython half can now consume full 16-byte entropy in
every build configuration (no external libexpat >= 2.8.0
requirement).
Updated packages:
-
alt-python27-2.7.18-33.el7.x86_64.rpm
sha:682271b1ba24ea8247ee4a21da0c167fb050c023c65c8a8b642077589185df8d
-
alt-python27-debug-2.7.18-33.el7.x86_64.rpm
sha:e5af0f467f5ee079e9cb52a4973939354a9ccb0fbafc0827c2608da874b9e372
-
alt-python27-devel-2.7.18-33.el7.x86_64.rpm
sha:37d13905e98c23691f9b7fd443734e035f92c80302d5c1b5c1dad1bdf282977a
-
alt-python27-libs-2.7.18-33.el7.x86_64.rpm
sha:3a73392caf60d1f0ce6acb49dab44d5cd0123695e2788feda4a03c114fad851b
-
alt-python27-test-2.7.18-33.el7.x86_64.rpm
sha:02b07bfda8226a46742869372bd8ebfb03a05ac6b528d5659cfdb11ed1a693fa
-
alt-python27-tkinter-2.7.18-33.el7.x86_64.rpm
sha:7861dd245811624911a070a3bdc5b097f09553be678b7fd4dd71520bf6e3ed22
-
alt-python27-tools-2.7.18-33.el7.x86_64.rpm
sha:14476e7f9c811bd12b5ce59ae7ee17ae97aaa86f7dd476d589b13bfff4dd9883
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.