Disclosure summary
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)
Source-reported weakness categories
CWE-190
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2017-1000158
Open original source · Updated Oct 08, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| python | python | * {"versionStartIncluding":"3.5.0","versionEndExcluding":"3.5.5"} |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Original records & references
- NIST NVD record
- CVE Program record
- bugs.python.org — Issue Tracking, Patch, Vendor Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- security.gentoo.org — Third Party Advisory
- security.netapp.com
- www.debian.org — Third Party Advisory
- bugs.python.org — Issue Tracking, Patch, Vendor Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- lists.debian.org — Mailing List, Third Party Advisory
- security.gentoo.org — Third Party Advisory
- security.netapp.com
- www.debian.org — Third Party Advisory
PUBLISHED 2017-11-17T00:29:00-05:00
MODIFIED 2026-10-08T17:17:05-04:00
INGESTED 2026-10-10T20:50:18-04:00