{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"There is no known exploitation of CVE-2026-18503 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.10.21, 3.11.16, 3.12.14 or 3.13.15.","what":"CVE-2026-18503 is a low-severity denial of service vulnerability in CPython, published on 10 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-18503 and fix it if it is affected.\n\nWhat it is: CVE-2026-18503 is a low-severity denial of service vulnerability in CPython, published on 10 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-18503 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n- python (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n- python-min (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-18503/ (Markdown: https://insights.sbomify.com/CVE-2026-18503/index.md)","id":"CVE-2026-18503","markdown":"https://insights.sbomify.com/CVE-2026-18503/index.md","name":"CVE-2026-18503","record":{"aliases":["AZL-95586","AZL-95619","BELL-CVE-2026-18503","BIT-libpython-2026-18503","BIT-python-2026-18503","BIT-python-min-2026-18503","DEBIAN-CVE-2026-18503","ECHO-b98e-b63c-2d5f","GHSA-2345-wr3r-cxf2","MINI-6gv8-j6j8-f588","MINI-98pc-j7vr-cpmx","MINI-cw62-mxgp-hm24","MINI-hv8p-jxrm-8m22","MINI-hxc7-5jqq-h8pg","PSF-2026-35","RHSA-2026:57010","UBUNTU-CVE-2026-18503"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python standard library","requires_auth":"low_privilege","summary":"Attackers can cause excessive CPU consumption in applications using Python's csv.Sniffer by providing unbounded input, leading to denial of service.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":2.4,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1176","name":"Inefficient CPU Computation"}],"description":"Attacker-controlled CSV samples can trigger super-linear \nregular-expression work during dialect sniffing and consume significant \nCPU when applications pass unbounded input to csv.Sniffer.sniff().","ecosystems":["Bitnami","Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()","id":"CVE-2026-18503","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":10,"n_references":9,"next":{"headline":"fastify vulnerable to schema validation bypass via root primitive coercion mismatch","id":"CVE-2026-18504"},"packages":[{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2026-18503"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2026-18503"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2026-18503"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10","purl":"pkg:rpm/redhat/python3.10","source":"RHSA-2026:57010"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-debug","purl":"pkg:rpm/redhat/python3.10-debug","source":"RHSA-2026:57010"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-devel","purl":"pkg:rpm/redhat/python3.10-devel","source":"RHSA-2026:57010"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-idle","purl":"pkg:rpm/redhat/python3.10-idle","source":"RHSA-2026:57010"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-libs","purl":"pkg:rpm/redhat/python3.10-libs","source":"RHSA-2026:57010"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-test","purl":"pkg:rpm/redhat/python3.10-test","source":"RHSA-2026:57010"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.21-1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-tkinter","purl":"pkg:rpm/redhat/python3.10-tkinter","source":"RHSA-2026:57010"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2026-18502"},"products":["CPython"],"published":"2026-08-10","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["Python Software Foundation"]},"summary":"Attackers can cause excessive CPU consumption in applications using Python's csv.Sniffer by providing unbounded input, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2026-18503/"}