Description
When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Python Software Foundation | CPython | < 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.15.0a1 – < 3.15.0a6 | 3.10.20 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pypy3 | 7.3.21+dfsg-1 | — |
| Debian 14 | python3.14 | 3.14.3-1 | — |
| Debian 13 | pypy3 | No fix yet | — |
| Debian 13 | python3.13 | 3.13.5-2+deb13u1 | — |
| Debian 12 | pypy3 | No fix yet | — |
| Debian 12 | python3.11 | 3.11.2-6+deb12u7 | — |
| Debian 11 | python3.9 | 3.9.2-1+deb11u5 | DLA-4455-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | python3.14 | 3.14.4-1ubuntu0.1 | USN-8509-1 |
| Ubuntu 25.10 | python3.13 | 3.13.7-1ubuntu0.3 | — |
| Ubuntu 25.10 | python3.14 | 3.14.0-1ubuntu0.2 | — |
| Ubuntu 24.04 LTS | python3.12 | 3.12.3-1ubuntu0.11 | USN-8509-1 |
| Ubuntu 22.04 LTS | python3.10 | 3.10.12-1~22.04.14 | USN-8509-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | python2.7 | 2.7.18-13ubuntu1.5+esm8 | — |
| Ubuntu Pro 22.04 LTS | python3.11 | 3.11.0~rc1-1~22.04.1~esm8 | — |
| Ubuntu Pro 20.04 LTS | python3.8 | 3.8.10-0ubuntu1~20.04.18+esm5 | — |
| Ubuntu Pro 20.04 LTS | python3.9 | 3.9.5-3ubuntu0~20.04.1+esm9 | — |
| Ubuntu Pro 18.04 LTS | python2.7 | 2.7.17-1~18.04ubuntu1.13+esm14 | — |
| Ubuntu Pro 18.04 LTS | python3.6 | 3.6.9-1~18.04ubuntu1.13+esm8 | — |
| Ubuntu Pro 18.04 LTS | python3.7 | 3.7.5-2ubuntu1~18.04.2+esm9 | — |
| Ubuntu Pro 18.04 LTS | python3.8 | 3.8.0-3ubuntu1~18.04.2+esm9 | — |
| Ubuntu Pro 16.04 LTS | python2.7 | 2.7.12-1ubuntu0~16.04.18+esm19 | — |
| Ubuntu Pro 16.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm21 | — |
| Ubuntu Pro 14.04 LTS | python2.7 | 2.7.6-8ubuntu0.6+esm29 | — |
| Ubuntu Pro 14.04 LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm19 | — |
| Ubuntu Pro 14.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm9 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | python3 +8 | 3.12.13-2.el10_2 | RHSA-2026:19064 |
| RHEL 9 | python3.12 +6 | 3.12.13-2.el9_8 | RHSA-2026:19177 |
| RHEL 8 | python3.12 +7 | 3.12.13-2.el8_10 | RHSA-2026:10950 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | python3 +7 | 3.12.13-2.el10_2 | ALSA-2026:19064 |
| AlmaLinux 9 | python3.12 +6 | 3.12.13-2.el9_8 | ALSA-2026:19177 |
| AlmaLinux 8 | python3.12 +7 | 3.12.13-2.el8_10 | ALSA-2026:10950 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | python3.12 | 3.12.13-2.el10_2 | RLSA-2026:19064 |
| Rocky Linux 9 | python3.12 | 3.12.13-2.el9_8 | RLSA-2026:19177 |
| Rocky Linux 8 | python3.12 | 3.12.13-2.el8_10 | RLSA-2026:10950 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python +1 | 2.7.18-150000.102.1 | SUSE-SU-2026:0590-1 |
| SLES 15 SP7 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES 15 SP7 | python311-core | 3.11.14-150600.3.44.1 | SUSE-SU-2026:1349-1, SUSE-SU-2026:0767-1 |
| SLES 15 SP6 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES 15 SP6 | python311 +1 | 3.11.14-150600.3.44.1 | SUSE-SU-2026:1349-1, SUSE-SU-2026:0767-1 |
| SLES 15 SP6 | python312 +1 | 3.12.12-150600.3.43.1 | SUSE-SU-2026:0644-1 |
| SLES 15 SP5 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES 15 SP5 | python311 +2 | 3.11.14-150400.9.75.1 | SUSE-SU-2026:1117-1, SUSE-SU-2026:0693-1 |
| SLES 15 SP5 | python39 +1 | 3.9.25-150300.4.93.1 | SUSE-SU-2026:0643-1 |
| SLES 15 SP4 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES 15 SP4 | python310 +1 | 3.10.19-150400.4.97.1 | SUSE-SU-2026:0613-1 |
| SLES 15 SP4 | python311 +2 | 3.11.14-150400.9.75.1 | SUSE-SU-2026:1117-1, SUSE-SU-2026:0693-1 |
| SLES 12 SP5 | python +2 | 2.7.18-33.63.1 | SUSE-SU-2026:0663-1 |
| SLES 12 SP5 | python3 +1 | 3.4.10-25.172.1 | SUSE-SU-2026:0645-1 |
| SLES 12 SP5 | python36 +1 | 3.6.15-100.1 | SUSE-SU-2026:0612-1 |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | python311 +1 | 3.11.14-150600.3.44.1 | SUSE-SU-2026:1349-1, SUSE-SU-2026:0767-1 |
| SLES 3 | python313 +1 | 3.13.12-150700.4.39.1 | SUSE-SU-2026:0642-1 |
| SLES for SAP 16.0 | python313 +2 | 3.13.12-160000.1.1 | SUSE-SU-2026:20581-1 |
| SLES for SAP 15 SP6 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES for SAP 15 SP6 | python311 +1 | 3.11.14-150600.3.44.1 | SUSE-SU-2026:1349-1, SUSE-SU-2026:0767-1 |
| SLES for SAP 15 SP6 | python312 +1 | 3.12.12-150600.3.43.1 | SUSE-SU-2026:0644-1 |
| SLES for SAP 15 SP5 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES for SAP 15 SP5 | python311 +2 | 3.11.14-150400.9.75.1 | SUSE-SU-2026:1117-1, SUSE-SU-2026:0693-1 |
| SLES for SAP 15 SP5 | python39 +1 | 3.9.25-150300.4.93.1 | SUSE-SU-2026:0643-1 |
| SLES for SAP 15 SP4 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLES for SAP 15 SP4 | python310 +1 | 3.10.19-150400.4.97.1 | SUSE-SU-2026:0613-1 |
| SLES for SAP 15 SP4 | python311 +2 | 3.11.14-150400.9.75.1 | SUSE-SU-2026:1117-1, SUSE-SU-2026:0693-1 |
| SLES 16.0 | python313 +2 | 3.13.12-160000.1.1 | SUSE-SU-2026:20581-1 |
| SLE Micro 6.2 | python313 +1 | 3.13.12-160000.1.1 | SUSE-SU-2026:20543-1 |
| SLE Micro 6.1 | python311 +1 | 3.11.14-slfo.1.1_3.1 | SUSE-SU-2026:20768-1, SUSE-SU-2026:20665-1 |
| SLE Micro 6.0 | python311 +1 | 3.11.14-3.1 | SUSE-SU-2026:20796-1, SUSE-SU-2026:20710-1 |
| SLE Micro 5.5 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLE Micro 5.4 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLE Micro 5.3 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLE Micro 5.2 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLE HPC 15 SP5 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLE HPC 15 SP5 | python311 +2 | 3.11.14-150400.9.75.1 | SUSE-SU-2026:1117-1, SUSE-SU-2026:0693-1 |
| SLE HPC 15 SP4 | python3 +1 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SLE HPC 15 SP4 | python310 +1 | 3.10.19-150400.4.97.1 | SUSE-SU-2026:0613-1 |
| SLE HPC 15 SP4 | python311 +2 | 3.11.14-150400.9.75.1 | SUSE-SU-2026:1117-1, SUSE-SU-2026:0693-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-M2Crypto | 0.48.0-1.1 | openSUSE-SU-2026:10990-1 |
| openSUSE Tumbleweed | python310 | 3.10.19-4.1 | openSUSE-SU-2026:10200-1 |
| openSUSE Tumbleweed | python311 | 3.11.14-4.1 | openSUSE-SU-2026:10221-1 |
| openSUSE Tumbleweed | python312 | 3.12.12-5.1 | openSUSE-SU-2026:10222-1 |
| openSUSE Tumbleweed | python313 | 3.13.12-1.1 | openSUSE-SU-2026:10223-1 |
| openSUSE Tumbleweed | python314 | 3.14.3-1.1 | openSUSE-SU-2026:10206-1 |
| openSUSE Tumbleweed | python315 | 3.15.0~a3-3.1 | openSUSE-SU-2026:10126-1 |
| openSUSE Leap 16.0 | python313 +4 | 3.13.12-160000.1.1 | openSUSE-SU-2026:20254-1 |
| openSUSE Leap 15.6 | python +2 | 2.7.18-150000.102.1 | SUSE-SU-2026:0590-1 |
| openSUSE Leap 15.6 | python3 +2 | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| openSUSE Leap 15.6 | python310 +2 | 3.10.19-150400.4.97.1 | SUSE-SU-2026:0613-1 |
| openSUSE Leap 15.6 | python311 +2 | 3.11.14-150600.3.44.1 | SUSE-SU-2026:1349-1, SUSE-SU-2026:0767-1 |
| openSUSE Leap 15.6 | python312 +2 | 3.12.12-150600.3.43.1 | SUSE-SU-2026:0644-1 |
| openSUSE Leap 15.6 | python39 +2 | 3.9.25-150300.4.93.1 | SUSE-SU-2026:0643-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3 +7 | 3.9.25-1.amzn2023.0.4 | ALAS2023-2026-1583 |
| Amazon Linux 2023 | python3.11 +6 | 3.11.14-1.amzn2023.0.4 | ALAS2023-2026-1447 |
| Amazon Linux 2023 | python3.12 +6 | 3.12.12-2.amzn2023.0.4 | ALAS2023-2026-1444 |
| Amazon Linux 2023 | python3.13 +8 | 3.13.12-1.amzn2023.0.1 | ALAS2023-2026-1437 |
| Amazon Linux 2023 | python3.14 +13 | 3.14.3-2.amzn2023.0.1 | ALAS2023-2026-1617 |
| Amazon Linux 2 | python +6 | 2.7.18-1.amzn2.0.16 | ALAS2-2026-3185 |
| Amazon Linux 2 | python3 +6 | 3.7.16-1.amzn2.0.23 | ALAS2-2026-3184 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python3 | 3.12.9-8 | — |
| Azure Linux 2 (CBL-Mariner) | python3 | 3.9.19-18 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | python3 +7 | 3.12.13-2.0.1.el10_2 | ELSA-2026-19064 |
| Oracle Linux 9 | python3.12 +6 | 3.12.13-2.0.1.el9_8 | ELSA-2026-19177 |
| Oracle Linux 8 | python3.12 +7 | 3.12.13-2.el8_10 | ELSA-2026-10950 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | python-3.10 | 3.10.19-r4 | — |
| Wolfi rolling | python-3.11 | 3.11.14-r5 | — |
| Wolfi rolling | python-3.12 | 3.12.12-r5 | — |
| Wolfi rolling | python-3.13 | 3.13.12-r1 | — |
| Wolfi rolling | python-3.14 | 3.14.3-r1 | — |
Advisories 50
- WID-SEC-2026-0209 Cpython: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- WID-SEC-2026-2189 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- ALSA-2026:19177 Important: python3.12 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:19064 Important: python3.12 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:10950 Important: python3.12 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:19177 Red Hat Security Advisory: python3.12 security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:19064 Red Hat Security Advisory: python3.12 security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:10950 Red Hat Security Advisory: python3.12 security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- SUSE-SU-2026:1117-1 Security update for python311 SUSE / openSUSE Security Updates · Sep 18, 2026
- ELSA-2026-19064 Important: python3.12 security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 8, 2026
- USN-8509-1 python3.10, python3.12, python3.14 vulnerabilities Ubuntu Security Notices (USN) · Jul 6, 2026
- ELSA-2026-19177 Important: python3.12 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 12, 2026
- openSUSE-SU-2026:10990-1 python-M2Crypto-doc-0.48.0-1.1 on GA media SUSE / openSUSE Security Updates · Jun 10, 2026
- RLSA-2026:19064 Important: python3.12 security update Rocky Linux Security Advisories · May 29, 2026
- RLSA-2026:19177 Important: python3.12 security update Rocky Linux Security Advisories · May 28, 2026
- WID-SEC-2026-0778 Dell Secure Connect Gateway Policy Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- ALAS2023-2026-1617 Important: python3.14 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 30, 2026
- RLSA-2026:10950 Important: python3.12 security update Rocky Linux Security Advisories · Apr 28, 2026
- ELSA-2026-10950 Important: python3.12 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 27, 2026
- SUSE-SU-2026:1349-1 Security update for python311 SUSE / openSUSE Security Updates · Apr 16, 2026
- ALAS2023-2026-1583 Important: python3.9 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 13, 2026
- SUSE-SU-2026:20768-1 Security update for python311 SUSE / openSUSE Security Updates · Mar 25, 2026
- SUSE-SU-2026:20796-1 Security update for python311 SUSE / openSUSE Security Updates · Mar 25, 2026
- openSUSE-SU-2026:20254-1 Security update for python313 SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10221-1 python311-3.11.14-4.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10222-1 python312-3.12.12-5.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10223-1 python313-3.13.12-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10200-1 python310-3.10.19-4.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10206-1 python314-3.14.3-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10126-1 python315-3.15.0~a3-3.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20710-1 Security update for python311 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20665-1 Security update for python311 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20543-1 Security update for python313 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20581-1 Security update for python313 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0693-1 Security update for python311 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0663-1 Security update for python SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0664-1 Security update for python3 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0590-1 Security update for python SUSE / openSUSE Security Updates · Mar 23, 2026
- ALAS2-2026-3185 Moderate: python security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 5, 2026
- ALAS2-2026-3184 Moderate: python3 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 5, 2026
- ALAS2023-2026-1447 Moderate: python3.11 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 5, 2026
- SUSE-SU-2026:0767-1 Security update for python311 SUSE / openSUSE Security Updates · Mar 4, 2026
- SUSE-SU-2026:0645-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 26, 2026
- SUSE-SU-2026:0643-1 Security update for python39 SUSE / openSUSE Security Updates · Feb 26, 2026
- SUSE-SU-2026:0644-1 Security update for python312 SUSE / openSUSE Security Updates · Feb 26, 2026
- SUSE-SU-2026:0642-1 Security update for python313 SUSE / openSUSE Security Updates · Feb 26, 2026
- SUSE-SU-2026:0612-1 Security update for python36 SUSE / openSUSE Security Updates · Feb 26, 2026
- SUSE-SU-2026:0613-1 Security update for python310 SUSE / openSUSE Security Updates · Feb 26, 2026
- ALAS2023-2026-1437 Moderate: python3.13 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 18, 2026
- ALAS2023-2026-1444 Moderate: python3.12 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 18, 2026
References
- https://github.com/python/cpython/pull/143920 patch
- https://github.com/python/cpython/issues/143919 issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/ vendor-advisory
- https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70 patch
- https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440 patch
- https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172 patch
- https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d patch
- https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca patch
- https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85 patch