Skip to main content
EPSS 0.1%top 98%

CVE-2026-18503: CWE-1176 in Python Software Foundation CPython

0
Low
Published: 08/10/2026 (08/10/2026, 13:45:31 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

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

CVSS v4.0

Score 2.4low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Python Software Foundation

CPython

Affected versions
>=0 <3.10.21>=3.11.0 <3.11.16>=3.12.0 <3.12.14>=3.13.0 <3.13.15>=3.14.0 <3.14.7>=3.15.0a1 <3.15.0rc1
GitHub Actionsmore threats →cve
CPython
pkg:github/CPython
Affected versions
>=0 <3.10.21>=3.11.0 <3.11.16>=3.12.0 <3.12.14>=3.13.0 <3.13.15>=3.14.0 <3.14.7>=3.15.0a1 <3.15.0rc1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 19:32:10 UTC

Technical Analysis

This vulnerability arises from the csv.Sniffer.sniff() method in CPython, where attacker-controlled CSV samples can cause super-linear regular-expression work during dialect sniffing. This results in excessive CPU usage when applications process unbounded input through this method. The issue is identified as CWE-1176 and affects CPython versions before 3.16.0, specifically including 3.14.0 and 3.15.0a1. The CVSS 4.0 base score is 2.4, indicating low severity. No official patch or remediation level has been provided by the vendor at this time.

Potential Impact

The vulnerability can cause significant CPU resource consumption due to super-linear regular-expression processing when untrusted CSV input is passed to csv.Sniffer.sniff(). This may degrade application performance or availability but does not indicate direct code execution or data compromise. The low CVSS score reflects limited impact confined to resource exhaustion under specific conditions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, applications should avoid passing unbounded or untrusted CSV input to csv.Sniffer.sniff() or implement input size restrictions to mitigate potential CPU exhaustion.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2026-07-31T16:35:42.902Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a79dc5fbf8831d539cf709c

Added to database: 08/10/2026, 14:12:47 UTC

Last enriched: 08/10/2026, 19:32:10 UTC

Last updated: 09/24/2026, 07:11:25 UTC

Views: 178

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses