# JLSEC-2026-1637: When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content mode…

- 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.724Z
- Related: CVE-2026-4224

## Description

When an Expat parser with a registered ElementDeclHandler parses an inline
document type definition containing a deeply nested content model a C stack
overflow occurs.

(As written by Julia Security Advisories.)

## Affected

- Python_jll (Julia): before 3.12.14+0

## 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:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/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/03/16/4> (web)
- <https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a> (web)
- <https://github.com/python/cpython/commit/24ce88b285f56ee11626cf5e472af3cd8cc7c621> (web)
- <https://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785> (web)
- <https://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee> (web)
- <https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3> (web)
- <https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768> (web)
- <https://github.com/python/cpython/issues/145986> (web)
- <https://github.com/python/cpython/pull/145987> (web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/> (web)

## Sources

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

---

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