CVE-2017-1000158
Python · 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)
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 7.944% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.8 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:40:37.493Z
CVSS 2.0 · 7.5 · published by [email protected]AV:N/AC:L/Au:N/C:P/I:P/A:P
Assessment source · checked 2026-11-19T12:40:37.493Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:40:37.493Z | NVD |
| epss | verified | 2026-11-19T16:04:23.628Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:54:53.994Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:53.994Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html",
"name": "[debian-lts-announce] 20171124 [SECURITY] [DLA 1189-1] python2.7 security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html",
"name": "[debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://bugs.python.org/issue30657",
"tags": [
"x_transferred"
]
},
{
"url": "http://www.securitytracker.com/id/1039890",
"name": "1039890",
"tags": [
"vdb-entry",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html",
"name": "[debian-lts-announce] 20171124 [SECURITY] [DLA 1190-1] python2.6 security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2018/dsa-4307",
"name": "DSA-4307",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html",
"name": "[debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/201805-02",
"name": "GLSA-201805-02",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20230216-0001/",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T21:53:07.018Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2017-1000158",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-08T20:56:18.929966Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-08T21:03:16.813Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B3B9C8F1-930A-4904-BA58-CD71AEA6F041",
"versionEndExcluding": "2.7.15"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7100BA3C-4470-4326-A3B2-16C0DF8B7FA0",
"versionEndExcluding": "3.4.8",
"versionStartIncluding": "3.4.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2525C259-8A44-4DB5-939F-D5B808470669",
"versionEndExcluding": "3.5.5",
"versionStartIncluding": "3.5.0"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "16F59A04-14CF-49E2-9973-645477EA09DA"
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43"
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DEECE5FC-CACF-4496-A3E7-164736409252"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:53.994ZArchived source JSON
Source publication: 2017-11-17T00:00:00.000Z
Source modification: 2026-10-08T21:03:16.813ZDocument fingerprint
9c75958bd79de1780ca091973fc8a18e432a5215caaabf2740b0572a27b39c1a - NVDConsulted: 2026-11-19T12:40:37.493ZArchived source JSON
Source publication: 2017-11-17T05:29:00.280Z
Source modification: 2026-10-08T21:17:05.670ZDocument fingerprint
5bdcb72819ddb1e8f34931bff43735b4dc074aee90667bff0ef3dbbf8d6b62c6 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:23.628ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
cafd0825260f46c8d5784aaca4cc0f4006eebf54de5dc2f4d922fd9d396a51e0
Official status history
- UNKNOWN → PUBLISHED · · evidence