CVE-2026-18503 PUBLISHED

Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()

Assigner: PSF
Reserved: 31.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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

Metrics

CVSS Vector: 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
CVSS Score: 2.4

Product Status

Vendor Python Software Foundation
Product CPython
Versions Default: unaffected
  • affected from 0 to 3.13.15 (excl.)
  • affected from 3.14.0 to 3.14.7 (excl.)
  • affected from 3.15.0a1 to 3.15.0rc1 (excl.)

Credits

  • Serhiy Storchaka (https://github.com/serhiy-storchaka) remediation developer
  • Jack Desert (https://github.com/jackdesert) reporter
  • Sean Gilligan (https://github.com/sg3-141-592) reporter
  • Seth Larson (https://github.com/sethmlarson) coordinator

References

Problem Types

  • CWE-1176 CWE