Skip to main content
CVE-2025-15282VulnerabilityPublished Updated

CVE-2025-15282: Python Software Foundation CPython · CWE-93

Affects Python Software Foundation CPythonSource CVE Database V5

0

Not known to be exploited · CVSS 6.0 Medium · fixed in 3.15.0a6 : update Python Software Foundation CPython when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.15.0a6, 3.14.3, 3.13.12 +3
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • <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
Fixed in
  • 3.15.0a6
  • 3.14.3
  • 3.13.12
  • 3.12.13
  • 3.11.15
  • 3.10.20
PyPIcpythonpkg:pypi/cpythonOther threatsAffected
  • =0
  • =3.11.0
  • =3.12.0
  • =3.13.0
  • =3.14.0
  • =3.15.0
Fixed in–
GitHubCPythonpkg:github/CPythonOther threatsAffected
  • <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
Fixed in
  • 3.10.20
  • 3.11.15
  • 3.12.13
  • 3.13.12
  • 3.14.3
  • 3.15.0a6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, organizations should implement strict input validation and sanitization on any user-supplied data URLs processed by urllib.request.DataHandler. Specifically, reject or sanitize newline (CRLF) characters in the media type portion of data URLs to prevent header injection. Review and harden any code that constructs or parses data URLs, ensuring that untrusted input cannot influence HTTP headers. Employ web application firewalls (WAFs) or intrusion detection systems (IDS) to detect and block suspicious HTTP header injection attempts. Monitor Python Software Foundation announcements and promptly apply security updates once patches addressing CVE-2025-15282 are available. Consider isolating or sandboxing components that process untrusted URLs to limit the impact of potential exploitation. Additionally, conduct code audits and penetration testing focused on HTTP header injection vectors in applications using affected Python versions. Educate developers about the risks of improper input handling in URL parsing to prevent similar vulnerabilities.

Description

User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.

References

Community reviews

Loading reviews…