Back
CVE-2017-1000158
CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting…
- 9.8CriticalCVSS base score
- 7.9%Exploitation in 30 daysEPSS · top 5.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 9 years later
· 9 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 7.9% · top 5.2% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
References
References9
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1189-1] python2.7 security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update (opens in a new tab)mailing-listx_transferred
- https://bugs.python.org/issue30657 (opens in a new tab)x_transferred
- 1039890 (opens in a new tab)vdb-entryx_transferred
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1190-1] python2.6 security update (opens in a new tab)mailing-listx_transferred
- DSA-4307 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update (opens in a new tab)mailing-listx_transferred
- GLSA-201805-02 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20230216-0001/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-1443 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-1000158)Record last updated .