CVE-2016-5636

NameCVE-2016-5636
DescriptionInteger 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1663-1, DLA-522-1
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie2.7.9-2+deb8u1fixed
jessie (security)2.7.9-2+deb8u2fixed
stretch (security), stretch2.7.13-2+deb9u3fixed
buster, sid2.7.16-2fixed
python3.4 (PTS)jessie3.4.2-1vulnerable
jessie (security)3.4.2-1+deb8u2fixed
python3.5 (PTS)stretch (security), stretch3.5.3-1+deb9u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7source(unstable)2.7.12~rc1-1high
python2.7sourcejessie2.7.9-2+deb8u1high
python2.7sourcewheezy2.7.3-6+deb7u3highDLA-522-1
python3.4source(unstable)(unfixed)high
python3.4sourcejessie3.4.2-1+deb8u2highDLA-1663-1
python3.5source(unstable)3.5.2~rc1-1high

Notes

https://bugs.python.org/issue26171
2.7: https://hg.python.org/cpython/rev/985fc64c60d6
3.5: https://hg.python.org/cpython/rev/2df462852464

Search for package or bug name: Reporting problems