CVE-2026-18503: Python Software Foundation CPython · CWE-1176
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 2.4 Low · fixed in 3.16.0 : update Python Software Foundation CPython when convenient.
Data as of 8 Nov 2026, 23:24 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.16.0, 3.15.0rc1, 3.14.7 +4
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 8 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
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, applications should avoid passing unbounded or untrusted CSV input to csv.Sniffer.sniff() or implement input size restrictions to mitigate potential CPU exhaustion.
Description
Attacker-controlled CSV samples can trigger super-linear regular-expression work during dialect sniffing and consume significant CPU when applications pass unbounded input to csv.Sniffer.sniff().
References
- mail.python.org/archives/list/security-announce@python.org/thread/KQ7NBMCPAZJHRROQXJQE4GMXGLD5KHBS/ (opens in a new tab)
- github.com/python/cpython/pull/153694 (opens in a new tab)
- github.com/python/cpython/issues/98820 (opens in a new tab)
- github.com/python/cpython/commit/063d4555c94ef412c731527dbf30193327f2ee82 (opens in a new tab)
- github.com/python/cpython/commit/476fb09cdb0d73e645849d98c610e7e5697ce7c9 (opens in a new tab)
- github.com/python/cpython/commit/89f29c760c02774b099ddd6863268eb13fa3946a (opens in a new tab)
- github.com/python/cpython/commit/b30c7fa9edd921a118f286e9f90f560777fa693b (opens in a new tab)
- github.com/python/cpython/commit/b09a67a20c464f8288c9f9a6b9c7082a74560024 (opens in a new tab)
- github.com/python/cpython/commit/fd78b565d7c326f96ae903ab945b47f35d829cf4 (opens in a new tab)