Critical severity · published Nov 17, 2017
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…
9.8
CVSS
7.9%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)7.9% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
7.0; 8.0; 9.0 · source: NVD
PY
Python · Python
before 2.7.15; 3.4.0 before 3.4.8; 3.5.0 before 3.5.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-1000158
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-1000158
Third Party Advisory
http://www.securitytracker.com/id/1039890
Issue Tracking
https://bugs.python.org/issue30657
Mailing List
https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html
Mailing List
https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html
Mailing List
https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
Mailing List
https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
