CVE-2017-1000158
Publication date 17 November 2017
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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)
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python2.7 | ||
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Fixed 2.7.12-1ubuntu0~16.04.2
|
|
| 14.04 LTS trusty |
Fixed 2.7.6-8ubuntu0.4
|
|
| python3.4 | ||
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty |
Fixed 3.4.3-1ubuntu1~14.04.6
|
|
| python3.5 | ||
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial |
Fixed 3.5.2-2ubuntu0~16.04.4
|
|
| 14.04 LTS trusty |
Fixed 3.5.2-2ubuntu0~16.04.4~14.04.1
|
|
| python3.6 | ||
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| python3.7 | ||
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release |
Notes
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-3496-1
- Python vulnerability
- 28 November 2017
- USN-3496-3
- Python vulnerability
- 28 November 2017
- USN-3496-2
- Python vulnerability
- 28 November 2017