All vulnerabilities

Servers and applications

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)

Severity
Critical 9.8
Published
17 Nov 2017
Last changed
8 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
2.7.15, 3.4.8, 3.5.5
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Every version before 2.7.15
  • From 3.4.0 before 3.4.8
  • From 3.5.0 before 3.5.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-1000158
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-1000158