CVE•Published 2017-11-17•Modified 2026-10-08•1 article on news•5 live references•NVD data
CVE-2017-1000158Python · Python
Vulnerability data via NVD (ingested)
CVSS v3.1
9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS percentile
95
Exploit Prediction Scoring System · top 5% of all CVEs
Weaknesses (CWE)
Description
CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)
Timeline
Published 2017-11-17
Modified 2026-10-08
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag41,212 hosts
vuln:CVE-2017-1000158Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Python Python"All exposed Python Python instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Python"HTTP body or banner mentions "Python" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2017-1000158Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2017-1000158Censys host search filtered to this CVE id.
grep.app
CVE-2017-1000158Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2017-1000158GitHub code search for direct mentions.
Google dork
"CVE-2017-1000158" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub
No public proof-of-concept repositories found for CVE-2017-1000158 on GitHub.