CVE-2017-1000158 Integer overflow in n/a

Critical 9.8 Published Updated

An integer overflow in CPython's string decoding allows heap-based buffer overflows, potentially enabling arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1000158?

CVE-2017-1000158 is a critical vulnerability in Debian Debian Linux, published on 17 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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)

Weakness: CWE-190

Which versions are affected by CVE-2017-1000158?

It affects 2 products.

Linux distribution packages (9)
python SUSE:Linux Enterprise Server 11 SP4All versions2.6.9-40.3.1
python-base SUSE:Linux Enterprise Server 11 SP4All versions2.6.9-40.3.1
python-doc SUSE:Linux Enterprise Server 11 SP4All versions2.6-8.40.3.1
python SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions2.6.9-40.3.1
python-base SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions2.6.9-40.3.1
python-doc SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions2.6-8.40.3.1
python SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.6.9-40.3.1
python-base SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.6.9-40.3.1
python-doc SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.6-8.40.3.1

Products include Debian Debian Linux, Python Python.

How do I fix CVE-2017-1000158?

Upgrade to a fixed version.

Is CVE-2017-1000158 being exploited?

There is no known exploitation of CVE-2017-1000158 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-1000158, AZL-109614, CLSA-2026-1777585788, CLSA-2026-1777586657, DEBIAN-CVE-2017-1000158, DLA-1189-1 and 8 more.

Is CVE-2017-1000158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free