// For flags

CVE-2016-5636

python: Heap overflow in zipimporter module

Severity Score

9.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Desbordamiento de entero en la función get_data en zipimport.c en CPython (también conocido como Python) en versiones anteriores a 2.7.12, 3.x en versiones anteriores a 3.4.5 y 3.5.x en versiones anteriores a 3.5.2 permite a atacantes remotos tener impacto no especificado a través de un valor de tamaño de datos negativo, lo que desencadena un desbordamiento de búfer basado en memoria dinámica.

A vulnerability was discovered in Python, in the built-in zipimporter. A specially crafted zip file placed in a module path such that it would be loaded by a later "import" statement could cause a heap overflow, leading to arbitrary code execution.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack Vector
Local
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-06-16 CVE Reserved
  • 2016-09-02 CVE Published
  • 2020-08-10 First Exploit
  • 2024-08-06 CVE Updated
  • 2024-08-13 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-122: Heap-based Buffer Overflow
  • CWE-190: Integer Overflow or Wraparound
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.0
Search vendor "Python" for product "Python" and version "3.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.0.1
Search vendor "Python" for product "Python" and version "3.0.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.0
Search vendor "Python" for product "Python" and version "3.1.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.1
Search vendor "Python" for product "Python" and version "3.1.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.2
Search vendor "Python" for product "Python" and version "3.1.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.3
Search vendor "Python" for product "Python" and version "3.1.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.4
Search vendor "Python" for product "Python" and version "3.1.4"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.5
Search vendor "Python" for product "Python" and version "3.1.5"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.0
Search vendor "Python" for product "Python" and version "3.2.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.1
Search vendor "Python" for product "Python" and version "3.2.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.2
Search vendor "Python" for product "Python" and version "3.2.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.3
Search vendor "Python" for product "Python" and version "3.2.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.4
Search vendor "Python" for product "Python" and version "3.2.4"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.5
Search vendor "Python" for product "Python" and version "3.2.5"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.6
Search vendor "Python" for product "Python" and version "3.2.6"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.0
Search vendor "Python" for product "Python" and version "3.3.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.1
Search vendor "Python" for product "Python" and version "3.3.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.2
Search vendor "Python" for product "Python" and version "3.3.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.3
Search vendor "Python" for product "Python" and version "3.3.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.4
Search vendor "Python" for product "Python" and version "3.3.4"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.5
Search vendor "Python" for product "Python" and version "3.3.5"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.6
Search vendor "Python" for product "Python" and version "3.3.6"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.4.0
Search vendor "Python" for product "Python" and version "3.4.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.4.1
Search vendor "Python" for product "Python" and version "3.4.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.4.2
Search vendor "Python" for product "Python" and version "3.4.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.4.3
Search vendor "Python" for product "Python" and version "3.4.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.4.4
Search vendor "Python" for product "Python" and version "3.4.4"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
<= 2.7.11
Search vendor "Python" for product "Python" and version " <= 2.7.11"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.5.0
Search vendor "Python" for product "Python" and version "3.5.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.5.1
Search vendor "Python" for product "Python" and version "3.5.1"
-
Affected