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

Published Aug 10, 2026
·
Updated

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 Software

1 affected component
Python Software Foundation Python

Event History

Aug 10, 2026
CVE Published
via OSV·01:45 PM
Data Sourced
via OSV·01:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions make an application vulnerable to CPU exhaustion?

The application must pass attacker-controlled, unbounded CSV sample data to csv.Sniffer.sniff(). Crafted input can cause super-linear regular-expression processing and significant CPU consumption during dialect detection.

2

What access does an attacker need?

The vector is local and the attacker needs low privileges. User interaction is required, according to the supplied severity vector.

3

What can be done if patching is not immediately possible?

Avoid passing unbounded input to csv.Sniffer.sniff(). Limit the size of CSV samples accepted for dialect sniffing, particularly when the sample can be controlled by an attacker.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203