Vulnerability database / CVE-2017-1000158
CVE-2017-1000158
CRITICAL 9.8 CVSS 3.1 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)
Published 17 Nov 2017
Last modified 8 Oct 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-190 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
python
pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:*
< 2.7.15
2.7.15 NVD
python
pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.4.0, < 3.4.8
3.4.8 NVD
python
pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.5.0, < 3.5.5
3.5.5 NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 17 Nov 2017)