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)
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1189-1 python2.7 security update
Debian DLA Debian DLA DLA-1190-1 python2.6 security update
Debian DLA Debian DLA DLA-1519-1 python2.7 security update
Debian DLA Debian DLA DLA-1520-1 python3.4 security update
Debian DSA Debian DSA DSA-4307-1 python3.5 security update
EUVD EUVD EUVD-2017-1443 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)
Ubuntu USN Ubuntu USN USN-3496-1 Python vulnerability
Ubuntu USN Ubuntu USN USN-3496-2 Python vulnerability
Ubuntu USN Ubuntu USN USN-3496-3 Python vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02395}

epss

{'score': 0.02492}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T21:53:07.018Z

Reserved: 2017-11-16T00:00:00

Link: CVE-2017-1000158

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-11-17T05:29:00.280

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-1000158

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-06-13T00:00:00Z

Links: CVE-2017-1000158 - Bugzilla

cve-icon OpenCVE Enrichment

No data.