Python (CPython) vulnerabilities

CVE records published for Python Software Foundation Python (CPython), newest first. Follow to get an email when a new one appears.

RSS feed
Total CVEs82
Last 30 days4
Critical5
Exploited0
82 results
9.4Critical
CVE-2026-115557

Distrust compromised intermediate certificates in ssl module

Python Software Foundation CPython

Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without certificate revocation configured. Known compromised certificates will automatically be rejected regardless of the SSLContext policy configuration.

6.0Medium
CVE-2026-17084

stringprep.map_table_b2() deviates from RFC 3454 Table B.2

Python Software Foundation CPython

The "stringprep" module didn't process characters from RFC 3454 tables B.2 or B.3 correctly: the latest Unicode codepoint attributes were used instead of the specified Unicode 3.2.0. This behavior would cause mismatches when processing domain names using I…

2.0Low
CVE-2026-6879

Quadratic Behavior in xml.etree.ElementPath Index Predicates

Python Software Foundation CPython

`Element.findall()` and fully-consumed `Element.iterfind()` exhibit `O(n^2)` time complexity when using XPath index predicates (e.g. `[1]`, `[last()]`, `[last()-N]`) on XML documents with many same-tag siblings. `Element.find()` is only affected when the firs…

2.0Low
CVE-2026-4360

Tarfile.extract() doesn't fully respect filter parameter

Python Software Foundation CPython

In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='…

The list holds every record since the start of 2025 and older records for this product.