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 in heap-based buffer overflow (and possible arbitrary code execution)
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (7.94%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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)
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 7.94% probability · 95th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-190
- Affected
- python/python · debian/debian linux
- Source
- cve@mitre.org
EPSS 7.9% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://www.securitytracker.com/id/1039890Third Party Advisory, VDB Entry
- https://bugs.python.org/issue30657Issue Tracking, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2017/11/msg00035.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2017/11/msg00036.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201805-02Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230216-0001/
- https://www.debian.org/security/2018/dsa-4307Third Party Advisory
- http://www.securitytracker.com/id/1039890Third Party Advisory, VDB Entry
- https://bugs.python.org/issue30657Issue Tracking, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2017/11/msg00035.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2017/11/msg00036.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201805-02Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230216-0001/
- https://www.debian.org/security/2018/dsa-4307Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.