# JLSEC-2026-1640: The CPython XML parsers use insufficient entropy for Expat hash-flooding protection.

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T15:11:45.475Z
- Modified: 2026-12-01T15:15:04.422Z
- Related: CVE-2026-7210

## Description

The CPython XML parsers use insufficient entropy for Expat hash-flooding protection. Full mitigation requires both the CPython patch and Expat 2.8.0 or later.

The published x86_64 Linux Python_jll 3.12.14 and 3.12.15 artifacts still use the legacy Expat hash-salt API. Updating a dynamically linked Expat alone does not fix these binaries; a rebuilt Python_jll must use the newer Expat API.

(As written by Julia Security Advisories.)

## Affected

- Python_jll (Julia): all versions

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <http://www.openwall.com/lists/oss-security/2026/05/11/13> (web)
- <http://www.openwall.com/lists/oss-security/2026/05/11/8> (web)
- <https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4> (web)
- <https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566> (web)
- <https://github.com/python/cpython/commit/cbaecf9f16da611a646d507c1cbca265c588fc56> (web)
- <https://github.com/python/cpython/commit/e37df2a6a71d6538698e2d3188a7c345b827640b> (web)
- <https://github.com/python/cpython/commit/ea70712d1a8508e14e9677d44f838dab04dc0286> (web)
- <https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a> (web)
- <https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f> (web)
- <https://github.com/python/cpython/issues/149018> (web)
- <https://github.com/python/cpython/pull/149023> (web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1640](https://osv.dev/vulnerability/JLSEC-2026-1640), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/JLSEC-2026-1640 · Whole record: https://cve.day/JLSEC-2026-1640.json · Rebuilt by cve.day 2026-12-01T15:27:05.600Z
