What’s Vulnerable › Vulnerabilities

CVE-2026-18503: Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()

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

How to fix

Upgrade to a fixed version: Python 3.10.21, 3.11.16, 3.12.14, 3.13.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18503 or the next vulnerability affects your stack