Remote Code Execution Vulnerability in Python's CSV Module
CVE-2026-18503

2.4LOW

What is CVE-2026-18503?

A vulnerability exists in Python's CSV module where attacker-controlled CSV samples can induce super-linear regular-expression processing during dialect sniffing. This can lead to significant CPU consumption when applications process unbounded input using the csv.Sniffer.sniff() method. If unvalidated CSV data is supplied by a malicious actor, it can exhaust system resources, affecting application performance and availability.

Affected Version(s)

CPython 0 < 3.13.15

CPython 3.14.0 < 3.14.7

CPython 3.15.0a1 < 3.15.0rc1

References

CVSS V4

Score:
2.4
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

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