CVE-2025-15282 json
Header injection via newlines in data URL mediatype
published 2026-01-20 9 mo ago modified 2026-06-17 4 mo ago also BIT-libpython-2025-15282 , BIT-python-2025-15282 , BIT-python-min-2025-15282 , EUVD-2025-206305
- cvss
- 6.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
Patch / fix
- bitnami libpython 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
- bitnami python 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
- bitnami python-min 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
- Python Software Foundation CPython 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3, 3.15.0a6
- pypy3 Debian 14 7.3.21+dfsg-1
- python3.11 Debian 12 3.11.2-6+deb12u7
- python3.13 Debian 13 3.13.5-2+deb13u1
- python3.14 Debian 14 3.14.3-1
debian advisories DEBIAN-CVE-2025-15282
- python3.10 Ubuntu 22.04 LTS 3.10.12-1~22.04.14
- python3.12 Ubuntu 24.04 LTS 3.12.3-1ubuntu0.11
- python3.13 Ubuntu 25.10 3.13.7-1ubuntu0.3
- python3.14 Ubuntu 25.10 3.14.0-1ubuntu0.2
- python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm29
- python2.7 Ubuntu Pro 16.04 LTS 2.7.12-1ubuntu0~16.04.18+esm19
- python2.7 Ubuntu Pro 18.04 LTS 2.7.17-1~18.04ubuntu1.13+esm14
- python2.7 Ubuntu Pro 22.04 LTS 2.7.18-13ubuntu1.5+esm8
ubuntu advisories UBUNTU-CVE-2025-15282
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python3.12 RHEL 9 3.12.13-2.el9_8
- python3.12-idle RHEL 9 3.12.13-2.el9_8
- python3.12-libs RHEL 9 3.12.13-2.el9_8
- python3.12-test RHEL 9 3.12.13-2.el9_8
- python3.12-tkinter RHEL 9 3.12.13-2.el9_8
- python3.12 RHEL 10.2 3.12.13-2.el10_2
- python3 RHEL 10.2 3.12.13-2.el10_2
- python3-idle RHEL 10.2 3.12.13-2.el10_2
red hat advisories RHSA-2026:19177RHSA-2026:19064RHSA-2026:10950RHSA-2026:8822RHSA-2026:8824RHSA-2026:7661
- python311 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 3.11.15-150400.9.80.1
- python311-core SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 3.11.15-150400.9.80.1
- python311-documentation SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 3.11.15-150400.9.80.1
- python311 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Python 3 15 SP7 +1 more 3.11.15-150600.3.53.1
- python311-core SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Python 3 15 SP7 +2 more 3.11.15-150600.3.53.1
- python311-documentation openSUSE Leap 15.6 3.11.15-150600.3.53.1
- python311 Linux Micro 6.1 3.11.15-slfo.1.1_1.1
- python311-core Linux Micro 6.1 3.11.15-slfo.1.1_1.1
suse advisories SUSE-SU-2026:1117-1SUSE-SU-2026:1349-1SUSE-SU-2026:20768-1SUSE-SU-2026:20796-1SUSE-SU-2026:20665-1SUSE-SU-2026:20710-1
- python313 openSUSE Leap 16.0 3.13.12-160000.1.1
- python313-core openSUSE Leap 16.0 3.13.12-160000.1.1
- python313-nogil openSUSE Leap 16.0 3.13.12-160000.1.1
- python313-documentation openSUSE Leap 16.0 3.13.12-160000.1.1
- python313-nogil-nogil-core openSUSE Leap 16.0 3.13.12-160000.1.1
- python311 openSUSE Tumbleweed 3.11.14-4.1
- python312 openSUSE Tumbleweed 3.12.12-5.1
- python313 openSUSE Tumbleweed 3.13.12-1.1
opensuse advisories openSUSE-SU-2026:20254-1openSUSE-SU-2026:10221-1openSUSE-SU-2026:10222-1openSUSE-SU-2026:10223-1openSUSE-SU-2026:10206-1openSUSE-SU-2026:10200-1
- python3 AlmaLinux 10 3.12.13-2.el10_2
- python3-idle AlmaLinux 10 3.12.13-2.el10_2
- python3-libs AlmaLinux 10 3.12.13-2.el10_2
- python3-test AlmaLinux 10 3.12.13-2.el10_2
- python3-tkinter AlmaLinux 10 3.12.13-2.el10_2
- python-unversioned-command AlmaLinux 10 3.12.13-2.el10_2
- python3.12 AlmaLinux 9 3.12.13-2.el9_8
- python3.12-idle AlmaLinux 9 3.12.13-2.el9_8
almalinux advisories ALSA-2026:19064ALSA-2026:19177ALSA-2026:10950
- python3.12 Rocky Linux 10 3.12.13-2.el10_2
- python3.12 Rocky Linux 9 3.12.13-2.el9_8
- python3.12 Rocky Linux 8 3.12.13-2.el8_10
rocky linux advisories RLSA-2026:19064RLSA-2026:19177RLSA-2026:10950
- github.com/python/cpython@f25509e commit
- github.com/python/cpython@05356b1 commit
- github.com/python/cpython@34d76b0 commit
- github.com/python/cpython@3f396ca commit
- github.com/python/cpython@4ed11d3 commit
- github.com/python/cpython@a35ca3b commit
- github.com/python/cpython#143926 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-15282 updated cvss 4.8
cpython: Header injection via newlines in data URL mediatype in Python
-
Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, firefox, python3, tkinter, python-libs, python-test, +5 more Red Hat Enterprise Linux 8 numpy, scipy, PyYAML, firefox, python3, mod_wsgi, +84 more Red Hat Enterprise Linux 9 firefox, python3, python3.9, python3.11, python3.14, firefox-x11, +18 more Red Hat Enterprise Linux 10 firefox, python3.14 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat Enterprise Linux AppStream (v. 8) python3.12 3.12.13-2.el8_10, python3.12-libs 3.12.13-2.el8_10, python3.12-tkinter 3.12.13-2.el8_10, python3.12-rpm-macros 3.12.13-2.el8_10fixed: vendor fix RHSA-2026:10950
-
Red Hat Enterprise Linux AppStream (v. 9) python3.12 3.12.13-2.el9_8, python3.12-libs 3.12.13-2.el9_8, python3.12-tkinter 3.12.13-2.el9_8fixed: vendor fix RHSA-2026:19177
-
Red Hat Enterprise Linux AppStream (v. 10) python3-tkinter 3.12.13-2.el10_2, python-unversioned-command 3.12.13-2.el10_2 Red Hat Enterprise Linux BaseOS (v. 10) python3 3.12.13-2.el10_2, python3.12 3.12.13-2.el10_2, python3-libs 3.12.13-2.el10_2fixed: vendor fix RHSA-2026:19064
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3.12 3.12.13-2.el9_8, python3.12-idle 3.12.13-2.el9_8, python3.12-test 3.12.13-2.el9_8, python3.12-tkinter 3.12.13-2.el9_8fixed: vendor fix RHSA-2026:19177
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) python3-idle 3.12.13-2.el10_2, python3-test 3.12.13-2.el10_2fixed: vendor fix RHSA-2026:19064
-
Red Hat Enterprise Linux CRB (v. 8) python3.12 3.12.13-2.el8_10, python3.12-idle 3.12.13-2.el8_10, python3.12-test 3.12.13-2.el8_10, python3.12-tkinter 3.12.13-2.el8_10fixed: vendor fix RHSA-2026:10950
show 3 moreshow fewer
-
Red Hat Hardened Images python3 3.14.4-1.hum1, python3.14 3.14.4-1.hum1, python3.11 3.11.15-4.hum1, python3.12 3.12.13-3.hum1, python3.13 3.13.13-1.hum1, python3-idle 3.14.4-1.hum1, +22 morefixed: vendor fix RHSA-2026:7661
-
Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 1779798222, rhui5/rhua-tp-rhel9 1787241260, rhui5/installer-rhel9 1779798165, rhui5/installer-tp-rhel9 1787135742fixed: vendor fix RHSA-2026:21275
-
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1779798159, rhui5/cds-tp-rhel9 1787241206, rhui5/haproxy-rhel9 1779798164, rhui5/cds-kubernetes-tp-rhel9 1787241211not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.0 | 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 |
| CNA | 4.0 | 6.0 | 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/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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libpython | <3.10.20 >=3.11.0, <3.11.15 >=3.12.0, <3.12.13 >=3.13.0, <3.13.12 >=3.14.0, <3.14.3 |
3.10.20 3.11.15 3.12.13 3.13.12 3.14.3 |
| bitnami | python | <3.10.20 >=3.11.0, <3.11.15 >=3.12.0, <3.12.13 >=3.13.0, <3.13.12 >=3.14.0, <3.14.3 |
3.10.20 3.11.15 3.12.13 3.13.12 3.14.3 |
| bitnami | python-min | <3.10.20 >=3.11.0, <3.11.15 >=3.12.0, <3.12.13 >=3.13.0, <3.13.12 >=3.14.0, <3.14.3 |
3.10.20 3.11.15 3.12.13 3.13.12 3.14.3 |
Affected products
- Python Software Foundation CPython
Classification
- Weakness
-
- CWE-93 Improper Neutralization of CRLF Sequences
References
-
github.com
/python/cpython/pull/143926
patch, web
-
github.com
/python/cpython/commit/f25509e78e8be6ea73c811ac2b8c928c28841b9f
patch, web
-
github.com
/python/cpython/commit/05356b1cc153108aaf27f3b72ce438af4aa218c0
patch, web
-
github.com
/python/cpython/commit/34d76b00dabde81a793bd06dd8ecb057838c4b38
patch, web
-
github.com
/python/cpython/commit/3f396ca9d7bbe2a50ea6b8c9b27c0082884d9f80
patch, web
-
github.com
/python/cpython/commit/4ed11d3cd288e6b90196a15c5a825a45d318fe47
patch, web
-
github.com
/python/cpython/commit/a35ca3be5842505dab74dc0b90b89cde0405017a
patch, web
-
mail.python.org
/archives/list/security-announce@python.org/thread/X66HL7SISGJT33J53OHXMZT4DFLMHVKF/
vendor-advisory, web
-
github.com
/python/cpython/issues/143925
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-15282
web
Sources
- CVE List CVE-2025-15282
- NVD CVE-2025-15282
- OSV BIT-libpython-2025-15282
- OSV BIT-python-2025-15282
- OSV BIT-python-min-2025-15282
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.