CVE-2016-5636 Integer overflow in n/a
Remote attackers can trigger a heap-based buffer overflow via negative data size values in the zipimport module, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-5636?
CVE-2016-5636 is a critical vulnerability in Python Python, published on 2 Sep 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2016-5636?
It affects 1 product.
Linux distribution packages (32)
python Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python-debug Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python-devel Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python-libs Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python-test Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python-tools Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
tkinter Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-48.el7 |
python Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python-debug Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python-libs Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python-test Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python-tools Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
tkinter Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-48.el7 |
python Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python-debug Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python-devel Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python-libs Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python-test Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python-tools Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
tkinter Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-48.el7 |
python Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
python-debug Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
python-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
python-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
python-libs Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
python-test Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
python-tools Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
tkinter Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-48.el7 |
Products include Python Python.
How do I fix CVE-2016-5636?
Upgrade to a fixed version.
Is CVE-2016-5636 being exploited?
There is no known exploitation of CVE-2016-5636 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Python Python
Sources
Also known as AZL-109608, CLSA-2025-1757608338, CLSA-2025-1757608775, DEBIAN-CVE-2016-5636, GHSA-f5qq-9gj3-v9hw, PSF-2016-7 and 2 more.