CVE-2017-1000158

published 17 Nov 2017 · updated 28 Oct 2026

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)

9.8CriticalCVSS 9.8EPSS 8%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. No fixed version is recorded.

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)

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2017-1000158 severity on Zeptric[![CVE-2017-1000158](https://zeptric.io/badge/cve/CVE-2017-1000158.svg)](https://zeptric.io/cve/CVE-2017-1000158)