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…

published August 7, 2016

CVSS
—
EPSS
8%
Percentile
94.9
In the wild
Unconfirmed
What it is

⚠️ Multiple integer overflows in the mcrypt extension could turn a simple encryption operation into a chaotic crash party! 🎉 Think of it as a delivery service that misreads package dimensions — if a box is too big to handle, it could hurt the whole operation, causing delays and mishaps down the line. An attacker could exploit these integer overflows to cause a denial of service, leading to heap-based buffer overflows and crashing applications. While this vulnerability doesn't allow for immediate data breach, it could still create significant disruptions to services relying on mcrypt. That's like a power outage at a crucial moment!

Put simply

Think of it as a delivery service that misreads package dimensions — if a box is too big to handle, it could hurt the whole operation, causing delays and mishaps down the line. This vulnerability manifests in the mcrypt.c file, specifically affecting the mcrypt_generic and mdecrypt_generic functions, where crafted length values can trigger overflows, causing unpredictable behavior and crashes in PHP versions prior to 5.5.37, 5.6.23, and 7.0.8.

What to do

An attacker could exploit these integer overflows to cause a denial of service, leading to heap-based buffer overflows and crashing applications. While this vulnerability doesn't allow for immediate data breach, it could still create significant disruptions to services relying on mcrypt. That's like a power outage at a crucial moment! To protect your applications, update PHP to at least version 5.5.37, 5.6.23, or 7.0.8. Review your code for any reliance on mcrypt and consider alternative libraries like OpenSSL if possible. Regularly check for updates! You've got this! Stay proactive, and you'll keep your systems running smoothly. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.08361 · 94.9th percentile
Published
2016-08-07T10:00Z
EPSS history
Timeline
  • 07 AUG 10:00Z
    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…
    cvelistv5