Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

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

Description

CVE-2026-18503 is a low-severity vulnerability in the Python Software Foundation's CPython implementation. It involves the csv.Sniffer.sniff() function, which can experience super-linear regular-expression processing when handling attacker-controlled CSV input. This can lead to significant CPU consumption when unbounded input is passed to this function. The vulnerability affects certain CPython versions prior to 3.16.0, including 3.14.0 and 3.15.0a1.

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

GitHub Actionsmore threats →cve
CPython
pkg:github/CPython
Affected versions
<3.16.0

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
Remediation Level
null

Threat ID: 6a79dc5fbf8831d539cf709c

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

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

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

Views: 6

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