IsItPatchedInstant security status for any software version
← All products

CVE-2017-1000158

CRITICAL severity · CVSS 9.8 · Integer overflow
9.8CVSS CRITICAL

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)

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)4%

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products we track (1)

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.

Official patch: https://bugs.python.org/issue30657 ↗

Last checked: Wed, 10 Jun 2026 22:18:30 UTC