CVE-2016-5636Integer Overflow or Wraparound in Python

Severity
9.8CRITICALNVD
OSV6.5
EPSS
38.6%
top 2.74%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 2
Latest updateMay 25

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

Patches

🔴Vulnerability Details

3
GHSA
GHSA-f5qq-9gj3-v9hw: Integer overflow in the get_data function in zipimport2022-05-14
OSV
python2.7, python3.2, python3.4, python3.5 vulnerabilities2016-11-22
OSV
CVE-2016-5636: Integer overflow in the get_data function in zipimport2016-09-02

📋Vendor Advisories

4
Apple
CVE-2016-5636: macOS Sierra 10.12.4, Security Update 2017-001 El Capitan, and Security Update 2017-001 Yosemite2017-03-27
Ubuntu
Python vulnerabilities2016-11-22
Red Hat
python: Heap overflow in zipimporter module2016-01-21
Debian
CVE-2016-5636: python2.7 - Integer overflow in the get_data function in zipimport.c in CPython (aka Python)...2016

📄Research Papers

2
arXiv
Path-wise Vulnerability Mitigation2024-05-25
arXiv
An Empirical Analysis of Vulnerabilities in Python Packages for Web Applications2018-11-16

💬Community

7
Bugzilla
CVE-2016-5636 python34: python: Heap overflow in zipimporter module [epel-7]2016-07-14
Bugzilla
CVE-2016-5636 python: Heap overflow in zipimporter module2016-06-13
Bugzilla
CVE-2016-5636 jython: python: Heap overflow in zipimporter module [fedora-all]2016-06-13
Bugzilla
CVE-2016-5636 jython: python: Heap overflow in zipimporter module [epel-5]2016-06-13
Bugzilla
CVE-2016-5636 python26: python: Heap overflow in zipimporter module [epel-5]2016-06-13