CVE-2025-15282: medium-severity vulnerability in Python Software Foundation CPython
Header injection via newlines in data URL mediatype
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6epss 0.5%
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N
Affected products
Python Software Foundation · CPythonRelated CVEs — Python Software Foundation CPython
In the same product, most dangerous first.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-6232HIGHRegular-expression DoS when parsing TarFile headersEPSS 2.2%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.6%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%
References
https://github.com/python/cpython/commit/05356b1cc153108aaf27f3b72ce438af4aa218c0https://github.com/python/cpython/commit/34d76b00dabde81a793bd06dd8ecb057838c4b38https://github.com/python/cpython/commit/3f396ca9d7bbe2a50ea6b8c9b27c0082884d9f80https://github.com/python/cpython/commit/4ed11d3cd288e6b90196a15c5a825a45d318fe47https://github.com/python/cpython/commit/a35ca3be5842505dab74dc0b90b89cde0405017ahttps://github.com/python/cpython/commit/f25509e78e8be6ea73c811ac2b8c928c28841b9fhttps://github.com/python/cpython/issues/143925https://github.com/python/cpython/pull/143926https://mail.python.org/archives/list/security-announce@python.org/thread/X66HL7SISGJT33J53OHXMZT4DFLMHVKF/