Skip to content

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 exe...

CriticalCVSS 9.8 EPSS 7.9%
Published
Updated
Exploit status
No public exploit known

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)

Affected products

ProductAffected versionsFixed in
debian/python2.7(Debian:11) < 2.7.13-4 2.7.13-4
python < 2.7.15 2.7.15
python >= 3.4.0, < 3.4.8 3.4.8
python >= 3.5.0, < 3.5.5 3.5.5
debian linux = 7.0 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
alpine/python(Alpine:v3.4) < 2.7.14-r0 2.7.14-r0
alpine/python2(Alpine:v3.5) < 2.7.14-r0 2.7.14-r0
alpine/python2(Alpine:v3.6) < 2.7.14-r0 2.7.14-r0

References