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().
Published: 2026-08-10
Score: 2.4 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in CPython’s csv.Sniffer.sniff() routine, which uses regular expressions to infer the dialect of CSV data. When supplied with attacker‑controlled, unbounded input, the regex engine can perform super‑linear work that consumes significant CPU cycles. This can lead to a denial‑of‑service condition for applications that parse large or malicious CSV files, causing performance degradation or unavailability for legitimate users.

Affected Systems

The issue affects the Python Software Foundation CPython implementation. No specific version range is listed, so any release that still uses the unpatched csv.Sniffer implementation may be vulnerable.

Risk and Exploitability

The CVSS score is 2.4, indicating a low overall severity, while the EPSS score is < 1%, indicating a very low exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector involves passing large, malicious CSV data to an application that calls csv.Sniffer.sniff() without bounds, such as through file uploads, network streams, or local IPC, which can trigger the CPU‑intensive regex processing. Although the exploitation probability is low, the high CPU footprint makes the flaw a viable denial‑of‑service vector.

Generated by OpenCVE AI on August 22, 2026 at 11:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest CPython release in which the csv.Sniffer.sniff super‑linear issue is fixed.
  • Validate and impose a reasonable size limit on CSV input before calling csv.Sniffer.sniff(), ensuring the data is bounded by a value appropriate for the application’s context.
  • Apply system‑level resource constraints (e.g., cgroups or CPU quotas) to services that process untrusted CSV input to prevent a single instance from exhausting CPU resources.

Generated by OpenCVE AI on August 22, 2026 at 11:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1333
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L'}

threat_severity

Low


Wed, 12 Aug 2026 00:45:00 +0000


Tue, 11 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython

Mon, 10 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 14:45:00 +0000


Mon, 10 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
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().
Title Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()
Weaknesses CWE-1176
References
Metrics cvssV4_0

{'score': 2.4, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published:

Updated: 2026-08-13T00:28:22.443Z

Reserved: 2026-07-31T16:35:42.902Z

Link: CVE-2026-18503

cve-icon Vulnrichment

Updated: 2026-08-10T17:56:23.854Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-10T14:17:21.560

Modified: 2026-08-18T15:04:46.610

Link: CVE-2026-18503

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-10T13:45:31Z

Links: CVE-2026-18503 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T11:30:17Z

Weaknesses
  • CWE-1176

    Inefficient CPU Computation

  • CWE-1333

    Inefficient Regular Expression Complexity