CVE-2026-18503
What it is
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().
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Details
- Published
- Last modified
- Exploit probability
- 0.1% · EPSS, next 30 days
- Weakness
- CWE-1176
- Record status
- Awaiting Analysis
Attack profile CVSS 4.0 · 2.4
- Attack vector
- Local
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- Low
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Raw 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix and advisories
- https://github.com/python/cpython/commit/063d4555c94ef412c731527dbf30193327f2ee82
- https://github.com/python/cpython/commit/476fb09cdb0d73e645849d98c610e7e5697ce7c9
- https://github.com/python/cpython/commit/89f29c760c02774b099ddd6863268eb13fa3946a
- https://github.com/python/cpython/commit/b09a67a20c464f8288c9f9a6b9c7082a74560024
- https://github.com/python/cpython/commit/b30c7fa9edd921a118f286e9f90f560777fa693b
- https://github.com/python/cpython/commit/fd78b565d7c326f96ae903ab945b47f35d829cf4
- https://github.com/python/cpython/pull/153694
References
- https://github.com/python/cpython/commit/063d4555c94ef412c731527dbf30193327f2ee82
- https://github.com/python/cpython/commit/476fb09cdb0d73e645849d98c610e7e5697ce7c9
- https://github.com/python/cpython/commit/89f29c760c02774b099ddd6863268eb13fa3946a
- https://github.com/python/cpython/commit/b09a67a20c464f8288c9f9a6b9c7082a74560024
- https://github.com/python/cpython/commit/b30c7fa9edd921a118f286e9f90f560777fa693b
- https://github.com/python/cpython/commit/fd78b565d7c326f96ae903ab945b47f35d829cf4
- https://github.com/python/cpython/issues/98820
- https://github.com/python/cpython/pull/153694
- https://mail.python.org/archives/list/[email protected]/thread/KQ7NBMCPAZJHRROQXJQE4GMXGLD5KHBS/