Integer overflow in Python

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 allows remote attackers to have unspecified impact via a negative data size value, which triggers a heap-based buffer overflow.

Vulnerability class: Integer Overflow

EPSS: 0.214 (97.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Python — versions 3.0, 3.0.1, 3.1.0
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2016-5636?
CVE-2016-5636 is a critical-severity vulnerability in Python, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2016-09-02.
How severe is CVE-2016-5636?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2016-5636 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.