Vulnerabilities / CVE-2016-5636

critical

CVE-2016-5636

python: Heap overflow in zipimporter module

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.5CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Ubuntu (medium), Red Hat (low), Oracle (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1python26, python26-debuginfo, python26-devel and 15 more2.6.9-2.86.amzn1 and 2 more
debian 11python2.72.7.12~rc1-1
debian 7python2.72.7.3-6+deb7u3
debian 8python2.7, python3.42.7.9-2+deb8u1 and 1 more
Oracle Linux 7python, python-debug, python-devel and 4 more2.7.5-48.0.1.el7
rapidfort fedora 43python3.15, python3.15-debug, python3.15-devel and 11 more3.15.0-1.fc43
Red Hatpython, python-devel, python-libs and 31 moreno fix listed
seal Red Hat 7python, seal-python2.7.5-92.el7_9+sp999
ubuntu 12.04python2.7, python3.22.7.3-0ubuntu3.9 and 1 more
ubuntu 14.04python2.7, python3.4, python3.52.7.6-8ubuntu0.3 and 2 more
ubuntu 14.04-ESMpython2.7, python3.4, python3.52.7.6-8ubuntu0.3 and 2 more
ubuntu 16.04python2.7, python3.52.7.12-1ubuntu0~16.04.1 and 1 more
Show all 91 entries from 13 sources
SourcePackageFixed in
amazon linux 1python262.6.9-2.86.amzn1
amazon linux 1python26-debuginfo2.6.9-2.86.amzn1
amazon linux 1python26-devel2.6.9-2.86.amzn1
amazon linux 1python26-libs2.6.9-2.86.amzn1
amazon linux 1python26-test2.6.9-2.86.amzn1
amazon linux 1python26-tools2.6.9-2.86.amzn1
amazon linux 1python272.7.10-4.122.amzn1
amazon linux 1python27-debuginfo2.7.10-4.122.amzn1
amazon linux 1python27-devel2.7.10-4.122.amzn1
amazon linux 1python27-libs2.7.10-4.122.amzn1
amazon linux 1python27-test2.7.10-4.122.amzn1
amazon linux 1python27-tools2.7.10-4.122.amzn1
amazon linux 1python343.4.3-1.32.amzn1
amazon linux 1python34-debuginfo3.4.3-1.32.amzn1
amazon linux 1python34-devel3.4.3-1.32.amzn1
amazon linux 1python34-libs3.4.3-1.32.amzn1
amazon linux 1python34-test3.4.3-1.32.amzn1
amazon linux 1python34-tools3.4.3-1.32.amzn1
debian 11python2.72.7.12~rc1-1
debian 7python2.72.7.3-6+deb7u3
debian 8python2.72.7.9-2+deb8u1
debian 8python3.43.4.2-1+deb8u2
Oracle Linux 7python2.7.5-48.0.1.el7
Oracle Linux 7python-debug2.7.5-48.0.1.el7
Oracle Linux 7python-devel2.7.5-48.0.1.el7
Oracle Linux 7python-libs2.7.5-48.0.1.el7
Oracle Linux 7python-test2.7.5-48.0.1.el7
Oracle Linux 7python-tools2.7.5-48.0.1.el7
Oracle Linux 7tkinter2.7.5-48.0.1.el7
rapidfort fedora 43python3.153.15.0-1.fc43
rapidfort fedora 43python3.15-debug3.15.0-1.fc43
rapidfort fedora 43python3.15-devel3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading-debug3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading-devel3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading-idle3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading-libs3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading-test3.15.0-1.fc43
rapidfort fedora 43python3.15-freethreading-tkinter3.15.0-1.fc43
rapidfort fedora 43python3.15-idle3.15.0-1.fc43
rapidfort fedora 43python3.15-libs3.15.0-1.fc43
rapidfort fedora 43python3.15-test3.15.0-1.fc43
rapidfort fedora 43python3.15-tkinter3.15.0-1.fc43
Red Hatpythonno fix listed
Red Hatpython-develno fix listed
Red Hatpython-libsno fix listed
Red Hatpython-testno fix listed
Red Hatpython-toolsno fix listed
Red Hatpython27-pythonno fix listed
Red Hatpython27-python-debugno fix listed
Red Hatpython27-python-develno fix listed
Red Hatpython27-python-libsno fix listed
Red Hatpython27-python-testno fix listed
Red Hatpython27-python-toolsno fix listed
Red Hatpython27-tkinterno fix listed
Red Hatpython33-pythonno fix listed
Red Hatpython33-python-debugno fix listed
Red Hatpython33-python-develno fix listed
Red Hatpython33-python-libsno fix listed
Red Hatpython33-python-testno fix listed
Red Hatpython33-python-tkinterno fix listed
Red Hatpython33-python-toolsno fix listed
Red Hatrh-python34-pythonno fix listed
Red Hatrh-python34-python-debugno fix listed
Red Hatrh-python34-python-develno fix listed
Red Hatrh-python34-python-libsno fix listed
Red Hatrh-python34-python-testno fix listed
Red Hatrh-python34-python-tkinterno fix listed
Red Hatrh-python34-python-toolsno fix listed
Red Hatrh-python35-pythonno fix listed
Red Hatrh-python35-python-debugno fix listed
Red Hatrh-python35-python-develno fix listed
Red Hatrh-python35-python-libsno fix listed
Red Hatrh-python35-python-testno fix listed
Red Hatrh-python35-python-tkinterno fix listed
Red Hatrh-python35-python-toolsno fix listed
Red Hattkinterno fix listed
seal Red Hat 7python2.7.5-92.el7_9+sp999
seal Red Hat 7seal-python2.7.5-92.el7_9+sp999
ubuntu 12.04python2.72.7.3-0ubuntu3.9
ubuntu 12.04python3.23.2.3-0ubuntu3.8
ubuntu 14.04python2.72.7.6-8ubuntu0.3
ubuntu 14.04python3.43.4.3-1ubuntu1~14.04.5
ubuntu 14.04python3.53.5.2-2ubuntu0~16.04.4~14.04.1
ubuntu 14.04-ESMpython2.72.7.6-8ubuntu0.3
ubuntu 14.04-ESMpython3.43.4.3-1ubuntu1~14.04.5
ubuntu 14.04-ESMpython3.53.5.2-2ubuntu0~16.04.4~14.04.1
ubuntu 16.04python2.72.7.12-1ubuntu0~16.04.1
ubuntu 16.04python3.53.5.2-2ubuntu0~16.04.1
ubuntu 16.04-ESMpython2.72.7.12-1ubuntu0~16.04.1
ubuntu 16.04-ESMpython3.53.5.2-2ubuntu0~16.04.1

References

All 22 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.