CVE-2016-9137

Use-after-free vulnerability in the CURLFile implementation in ext/curl/curl_file.c in PHP before 5.6.27 and 7.x before 7.0.12 allows remote attackers to cause…

published January 4, 2017

CVSS
—
EPSS
5%
Percentile
92.5
In the wild
Unconfirmed
What it is

⚠️ A crafty use-after-free vulnerability in PHP’s CURLFile implementation could let attackers cause a denial of service just by sending crafted data! Think of it like a restaurant that accidentally allows customers to order a dish that’s already been sent back — the kitchen gets confused and can’t serve anything else properly. That’s how mishandled data during __wakeup processing can lead to chaos in your server! In the worst-case scenario, this vulnerability could cause your PHP application to crash, leaving users frustrated and unable to access your services. While it hasn't been known to be exploited actively, the potential for a denial of service is absolutely something to keep an eye on!

Put simply

Think of it like a restaurant that accidentally allows customers to order a dish that’s already been sent back — the kitchen gets confused and can’t serve anything else properly. That’s how mishandled data during __wakeup processing can lead to chaos in your server! This use-after-free vulnerability occurs in the CURLFile component of PHP, specifically when crafted serialized data is mishandled during the __wakeup process, leading to unexpected behavior or crashes.

What to do

In the worst-case scenario, this vulnerability could cause your PHP application to crash, leaving users frustrated and unable to access your services. While it hasn't been known to be exploited actively, the potential for a denial of service is absolutely something to keep an eye on! To protect yourself, upgrade your PHP version to at least 5.6.27 or 7.0.12, where this issue has been addressed. Additionally, review your use of CURLFile to ensure that serialized data is managed correctly and securely. You've got this! Just follow these steps and you'll keep your PHP applications running smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.05319 · 92.5th percentile
Published
2017-01-04T20:00Z
EPSS history
Timeline
  • 04 JAN 20:00Z
    Use-after-free vulnerability in the CURLFile implementation in ext/curl/curl_file.c in PHP before 5.6.27 and 7.x before 7.0.12 allows remote attackers to cause…
    cvelistv5