Medium severity · published Jan 20, 2026
CVE-2025-15282
Header injection via newlines in data URL mediatype
6.0
CVSS
0.5%
EPSS
No
On KEV
Description
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 45% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.10.20; 3.11.0 before 3.11.15; 3.12.0 before 3.12.13; 3.13.0 before 3.13.12; 3.14.0 before 3.14.3; 3.15.0a1 before 3.15.0a6 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-15282
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-15282
github.com
https://github.com/python/cpython/commit/05356b1cc153108aaf27f3b72ce438af4aa218c0
github.com
https://github.com/python/cpython/commit/34d76b00dabde81a793bd06dd8ecb057838c4b38
github.com
https://github.com/python/cpython/commit/3f396ca9d7bbe2a50ea6b8c9b27c0082884d9f80
github.com
https://github.com/python/cpython/commit/4ed11d3cd288e6b90196a15c5a825a45d318fe47
github.com
https://github.com/python/cpython/commit/a35ca3be5842505dab74dc0b90b89cde0405017a
github.com
https://github.com/python/cpython/commit/f25509e78e8be6ea73c811ac2b8c928c28841b9f
More from CPython
9.4
CVE-2026-115557
Distrust compromised intermediate certificates in ssl module
9.4
CVE-2025-4517
Arbitrary writes via tarfile realpath overflow
9.2
CVE-2026-19445
Use-after-free of a server-side SSLContext when sni_callback switches contexts
8.8
CVE-2026-3298
Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
8.4
CVE-2026-82049
tarfile extraction filters allow file modification and content disclosure via hard link to symlink
