CVE-2016-5636
Publication date 2 September 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 allows remote attackers to have unspecified impact via a negative data size value, which triggers a heap-based buffer overflow.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python3.2 | ||
| 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 | Not in release | |
| 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.1
|
|
| 14.04 LTS trusty |
Fixed 2.7.6-8ubuntu0.3
|
|
| 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.5
|
|
| 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.1
|
|
| 14.04 LTS trusty |
Fixed 3.5.2-2ubuntu0~16.04.4~14.04.1
|
|
Notes
sbeattie
issue is fixed for xenial/python3.5 and xenial/python2.7 for packages in xenial-updates, but not xenial-security may also need https://hg.python.org/cpython/rev/2edbdb79cd6d (see comment on python bug above) for pre-2.7.8 code and possibly 3.x code.
Patch details
| Package | Patch details |
|---|---|
| python2.7 | |
| python3.4 | |
| python3.5 |
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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-3134-1
- Python vulnerabilities
- 22 November 2016