CVE-2016-7134

ext/curl/interface.c in PHP 7.x before 7.0.10 does not work around a libcurl integer overflow, which allows remote attackers to cause a denial of service…

published September 12, 2016

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

⚠️ An integer overflow in libcurl could let attackers cause a denial of service! Imagine a restaurant that’s overwhelmed by one customer ordering an endless supply of food — that’s what could happen here! This vulnerability is like a kitchen that can't handle a massive order — the cook's been told to prepare more meals than they can handle, leading to chaos and potential disasters. In technical terms, it’s a mishandling of data that could cause the application to crash or misbehave. An attacker could exploit this vulnerability by sending a long string in a curl_escape call, leading to allocation errors and a heap-based buffer overflow. This could result in the application becoming unresponsive, disrupting services, and possibly allowing for other unintended impacts. While the exact consequences may vary, it's a situation you definitely want to avoid!

Put simply

This vulnerability is like a kitchen that can't handle a massive order — the cook's been told to prepare more meals than they can handle, leading to chaos and potential disasters. In technical terms, it’s a mishandling of data that could cause the application to crash or misbehave. The flaw lies in the ext/curl/interface.c file in PHP before version 7.0.10, where integer overflow issues in libcurl can cause problematic behavior during string handling. This results in potential denial of service scenarios due to allocation errors and heap corruption.

What to do

An attacker could exploit this vulnerability by sending a long string in a curl_escape call, leading to allocation errors and a heap-based buffer overflow. This could result in the application becoming unresponsive, disrupting services, and possibly allowing for other unintended impacts. While the exact consequences may vary, it's a situation you definitely want to avoid! Upgrade your PHP installation to version 7.0.10 or later to ensure protection against this vulnerability. Additionally, review your code for curl_escape usage to mitigate potential risks, ensuring that input strings are properly validated and managed. You've got this! By upgrading, you’ll take a strong step towards fortifying your application. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04846 · 91.9th percentile
Published
2016-09-12T01:00Z
EPSS history
Timeline
  • 12 SEP 01:00Z
    ext/curl/interface.c in PHP 7.x before 7.0.10 does not work around a libcurl integer overflow, which allows remote attackers to cause a denial of service…
    cvelistv5