Python2.7: Attacker-controlled CSV samples can trigger super-linear regular-expression work during dialect sniffing
Affects python2.7Source GCVE Database
Not known to be exploited · CVSS 2.4 Low.
Data as of 24 Nov 2026, 20:12 UTC
Thin evidence
One scorer or none| CNA (PSF) | CVSS 4.0 | 2.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 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python3.14pkg:deb/ubuntu/python3.14?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython3.14pkg:deb/ubuntu/python3.14?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
- ubuntu.com/security/CVE-2026-18503 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-18503 (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/b09a67a20c464f8288c9f9a6b9c7082a74560024 (opens in a new tab)
- github.com/python/cpython/commit/b30c7fa9edd921a118f286e9f90f560777fa693b (opens in a new tab)
- github.com/python/cpython/commit/fd78b565d7c326f96ae903ab945b47f35d829cf4 (opens in a new tab)
- github.com/python/cpython/issues/98820 (opens in a new tab)
- github.com/python/cpython/pull/153694 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/KQ7NBMCPAZJHRROQXJQE4GMXGLD5KHBS/ (opens in a new tab)