# CVE-2026-18503: Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()

- Severity: Low 2.4 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-10T13:45:31.618Z
- Modified: 2026-11-10T13:18:29.890Z
- Also known as: PSF-2026-35, BIT-LIBPYTHON-2026-18503, BIT-PYTHON-2026-18503, BIT-PYTHON-MIN-2026-18503
- Weaknesses: CWE-1176
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

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

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.15; from 3.14.0 before 3.14.7; from 3.15.0a1 before 3.15.0rc1; from 3.16.0a1 before 3.16.0
- https://github.com/python/cpython: before 063d4555c94ef412c731527dbf30193327f2ee82; before 476fb09cdb0d73e645849d98c610e7e5697ce7c9; before 89f29c760c02774b099ddd6863268eb13fa3946a; before b30c7fa9edd921a118f286e9f90f560777fa693b; before b09a67a20c464f8288c9f9a6b9c7082a74560024; before fd78b565d7c326f96ae903ab945b47f35d829cf4
- libpython (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.15; from 3.14.0 before 3.14.7
- python (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.15; from 3.14.0 before 3.14.7
- python-min (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.15; from 3.14.0 before 3.14.7

## Every score

- PSF: CVSS:4.0 2.4 Low `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`
- Bitnami Vulnerability Database: rating Low

## References

- <https://mail.python.org/archives/list/security-announce@python.org/thread/KQ7NBMCPAZJHRROQXJQE4GMXGLD5KHBS/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/pull/153694> (patch, web)
- <https://github.com/python/cpython/issues/98820> (issue-tracking, report, web)
- <https://github.com/python/cpython/commit/063d4555c94ef412c731527dbf30193327f2ee82> (fix, patch, web)
- <https://github.com/python/cpython/commit/476fb09cdb0d73e645849d98c610e7e5697ce7c9> (fix, patch, web)
- <https://github.com/python/cpython/commit/89f29c760c02774b099ddd6863268eb13fa3946a> (fix, patch, web)
- <https://github.com/python/cpython/commit/b30c7fa9edd921a118f286e9f90f560777fa693b> (fix, patch, web)
- <https://github.com/python/cpython/commit/b09a67a20c464f8288c9f9a6b9c7082a74560024> (fix, patch, web)
- <https://github.com/python/cpython/commit/fd78b565d7c326f96ae903ab945b47f35d829cf4> (fix, patch, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-18503> (web)

## Sources

- CVE List: [CVE-2026-18503](https://www.cve.org/CVERecord?id=CVE-2026-18503), CVE Terms of Use, modified 2026-11-10
- Python Software Foundation: [PSF-2026-35](https://osv.dev/vulnerability/PSF-2026-35), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-18503](https://nvd.nist.gov/vuln/detail/CVE-2026-18503), Public domain, modified 2026-11-10
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-18503](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-18503), Apache-2.0, modified 2026-08-17
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-18503](https://osv.dev/vulnerability/BIT-PYTHON-2026-18503), Apache-2.0, modified 2026-08-17
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-18503](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-18503), Apache-2.0, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-18503 · Whole record: https://cve.day/CVE-2026-18503.json · Rebuilt by cve.day 2026-11-25T22:59:32.127Z
