Integer overflow in PHP

CVE-2016-5769

Multiple integer overflows in mcrypt.c in the mcrypt extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8 allow remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted length value, related to the (1) mcrypt_generic and (2) mdecrypt_generic functions.

Vulnerability class: Integer Overflow

Published · last modified .

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.

EPSS exploit prediction

EPSS 0.084, 95.1th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 5.6.0, 5.6.1, 5.6.2

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (syadg123/pigat, teamssix/pigat). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References