Skip to content
2.4 Low

CVE-2026-18503 Attacker-controlled CSV samples can trigger super-linear regular-expression work during dialect sniffing and consume…

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().

Affected products and versions

Product Affected versions Fixed in
CPython 3.16 3.16.0a1 → < 3.16.0 3.16.0
CPython 3.15 3.15.0a1 → < 3.15.0rc1 3.15.0rc1
CPython 3.14 3.14.0 → < 3.14.7 3.14.7
CPython 3.13 3.13.0 → < 3.13.15 3.13.15
CPython 3.12 3.12.0 → < 3.12.14 3.12.14
CPython 3.11 3.11.0 → < 3.11.16 3.11.16
CPython 3.10 earliest → < 3.10.21 3.10.21

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE