CVE-2017-1000158
publishedpython: Integer overflow in PyString_DecodeEscape results in heap-base buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.4 | python | Fixed | 2.7.14-r0 | Package fix record |
| Debian | jessie | python2.7 | Advisory build | 2.7.9-2+deb8u2 | DLA-1519-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-32bitx86_64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| Alpine Linux | v3.5 | python2 | Fixed | 2.7.14-r0 | Package fix record |
| Alpine Linux | v3.6 | python2 | Fixed | 2.7.14-r0 | Package fix record |
| Debian | jessie | python3.4 | Advisory build | 3.4.2-1+deb8u1 | DLA-1520-1 |
| Debian | stretch | python3.5 | Advisory build | 3.5.3-1+deb9u1 | DSA-4307-1 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | wheezy | python2.6 | Advisory build | 2.6.8-1.1+deb7u1 | DLA-1190-1 |
| Debian | wheezy | python2.7 | Advisory build | 2.7.3-6+deb7u4 | DLA-1189-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-demoi586 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-demox86_64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-develi586 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-develia64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-develppc64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-devels390x | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-develx86_64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-docnoarch | Advisory build | 2.6-8.40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-doc-pdfnoarch | Advisory build | 2.6-8.40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-gdbmi586 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-gdbmx86_64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-idlei586 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-idlex86_64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-tki586 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-11-SP4 | python-tkx86_64 | Advisory build | 2.6.9-40.3.1 | SUSE-SU-2018:0768-1 |
| SUSE / openSUSE | SLE-12 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3aarch64 | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3ppc64le | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3s390x | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3x86_64 | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3-baseaarch64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3-baseppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3-bases390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12 | python3-basex86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3ppc64le | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3s390x | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3x86_64 | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-baseppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-bases390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-basex86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-cursesppc64le | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-cursess390x | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-cursesx86_64 | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-develppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-devels390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP1 | python3-develx86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3ppc64le | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3s390x | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3x86_64 | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-baseppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-bases390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-basex86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-cursesppc64le | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-cursess390x | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-cursesx86_64 | Advisory build | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-develppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-devels390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP2 | python3-develx86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython2_7-1_0aarch64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython2_7-1_0ppc64le | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython2_7-1_0s390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython2_7-1_0x86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython2_7-1_0-32bits390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython2_7-1_0-32bitx86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP3 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| SUSE / openSUSE | SLE-12-SP3 | pythonaarch64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | pythonppc64le | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | pythons390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | pythonx86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-32bits390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-32bitx86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-baseaarch64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-baseppc64le | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-bases390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-basex86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-base-32bits390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-base-32bitx86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-cursesaarch64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-cursesppc64le | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-cursess390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-cursesx86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-demoaarch64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-demoppc64le | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-demos390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-demox86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-develaarch64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-develppc64le | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-devels390x | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-develx86_64 | Advisory build | 2.7.13-28.3.2 | SUSE-SU-2018:1372-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- 1039890 http://www.securitytracker.com/id/1039890
- https://bugs.python.org/issue30657
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1189-1] python2.7 security update https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1190-1] python2.6 security update https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- GLSA-201805-02 https://security.gentoo.org/glsa/201805-02
- https://security.netapp.com/advisory/ntap-20230216-0001/
- DSA-4307 https://www.debian.org/security/2018/dsa-4307
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9c75958bd79de1780ca091973fc8a18e432a5215caaabf2740b0572a27b39c1a
- Ingested
- 09 Oct 2026, 16:22:04 UTC
- Source record
- Official CVE record