CVE-2026-18503: Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()
CVE-2026-18503 affects 226 listed versions of Python in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Python
226 of 250 listed versions are affected. Fixed in 3.14.7, 3.13.15, 3.12.14, 3.11.16, 3.10.21. The newest release, 3.15.2, is not affected.
3.14.6 3.14.5 3.14.5rc1 3.14.4 3.14.3 3.14.2 3.14.1 3.14.0 3.13.14 3.13.13 3.13.12 3.13.11 3.13.10 3.13.9 3.13.8 3.13.7 3.13.6 3.13.5 3.13.4 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.2 3.11.15 3.11.14 3.11.13 3.11.12 3.11.11 3.11.10 3.11.9 3.11.8 3.11.7 3.11.6 3.11.5 3.11.4 3.10.20 3.10.19 3.10.18 3.10.17 3.10.16 3.10.15 3.10.14 3.10.13 3.10.12 3.10.11 3.10.10 3.10.9 3.10.8 3.9.25 3.9.24 3.9.23 3.9.22 and 166 more
What it is
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().
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (Psf)
Published by Psf on 10 August 2026. Last changed 10 November 2026.
Sources
Check one version you run: look CVE-2026-18503 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.