CVE-2016-5636: 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…
CVE-2016-5636 affects 80 listed versions of Python in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Python
80 of 250 listed versions are affected. Fixed in 3.5.2, 3.4.5. The newest release, 3.15.2, is not affected.
3.5.1 3.5.0 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.6 3.3.6-rc1 3.3.5 3.3.5-rc2 3.3.5-rc1 3.3.4 3.3.4-rc1 3.3.3 3.3.3-rc2 3.3.3-rc1 3.3.2 3.3.1 3.3.1-rc1 3.3.0 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 3.0 2.7.11 2.7.10 2.7.9 2.7.8 2.7.7 2.7.6 2.6.6150 2.6.2150 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.4 2.6.3 2.6.2 2.6.1 2.5.150 2.5.12 2.5.6 2.5.4 2.5.3 2.5.2 2.5.1 and 20 more
What it is
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:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 2 September 2016. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2016-5636 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.