Skip to content

Product

Python Software Foundation CPython vulnerabilities

84 published CVES affecting Python Software Foundation CPython, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).

Total
84
Critical
4
High
22
Medium
45
Low
12
Unscored
1
CISA KEV
0

Latest Python Software Foundation CPython CVEs

Newest publication first · page 2 of 4

  1. LowCVSS 2.1 EPSS 0.21%

    http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow esc...

  2. MediumCVSS 6.0 EPSS 0.18%

    When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other impleme...

  3. HighCVSS 7.0 EPSS 0.32%

    The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().

  4. MediumCVSS 6.0 EPSS 0.54%

    The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the ou...

  5. MediumCVSS 5.7 EPSS 0.22%

    The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.

  6. MediumCVSS 6.0 EPSS 0.57%

    The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't res...

  7. MediumCVSS 6.0 EPSS 0.48%

    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.

Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.