CVE-2016-7124

ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial…

published September 12, 2016

CVSS
—
EPSS
17%
Percentile
97.0
In the wild
Unconfirmed
What it is

⚠️ A crafted serialized object can stir up chaos! This vulnerability in PHP's unserializer mishandles certain invalid objects, and the consequences could lead to a denial of service. 😱 Think of it like a restaurant that can't handle a weird order; if the chef gets a request for an ingredient they don't recognize, they might just throw everything into disarray instead of serving a meal. That's how this flaw behaves with serialized data—it’s ready to break the kitchen instead of serving efficiently! An attacker can send specially crafted serialized data that triggers problematic calls, potentially bringing your application to its knees with a denial of service. While the exact impacts are unspecified, the potential for disruption is definitely there!

Put simply

Think of it like a restaurant that can't handle a weird order; if the chef gets a request for an ingredient they don't recognize, they might just throw everything into disarray instead of serving a meal. That's how this flaw behaves with serialized data—it’s ready to break the kitchen instead of serving efficiently! The vulnerability exists in PHP versions before 5.6.25 and 7.x before 7.0.10, where the unserializer mishandles invalid objects, resulting in unintended __destruct or magic method calls.

What to do

An attacker can send specially crafted serialized data that triggers problematic calls, potentially bringing your application to its knees with a denial of service. While the exact impacts are unspecified, the potential for disruption is definitely there! Upgrade your PHP installation to version 5.6.25 or 7.0.10 or later to patch this vulnerability. If you're managing an application that uses these versions, make sure to review and test the update process thoroughly. You've got this! Just follow the upgrade path, and you'll be back to smooth sailing in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.16612 · 97.0th percentile
Published
2016-09-12T01:00Z
EPSS history
Timeline
  • 12 SEP 01:00Z
    ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial…
    cvelistv5