CVE-2016-6294

The locale_accept_from_http function in ext/intl/locale/locale_methods.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 does not properly…

published July 25, 2016

CVSS
—
EPSS
6%
Percentile
93.1
In the wild
Unconfirmed
What it is

⚠️ A simple function call can lead to an out-of-bounds read! In PHP versions before 5.5.38, 5.6.24, and 7.0.9, attackers can exploit locale_accept_from_http to trigger a denial of service. 🔥 Think of it like a restaurant that prepares meals based on a customer's order. If someone submits an excessively long order, the kitchen might short-circuit and cause a chaotic scene, leading to delays for everyone waiting. This vulnerability allows an attacker to overwhelm the system's processing capabilities just like that. An attacker could send a long argument to the locale_accept_from_http function, causing a denial of service. This could lead to an application slowdown or crash, frustrating users and affecting the overall availability of services. While the impact is unclear, any disruption can be absolutely devastating for business continuity.

Put simply

Think of it like a restaurant that prepares meals based on a customer's order. If someone submits an excessively long order, the kitchen might short-circuit and cause a chaotic scene, leading to delays for everyone waiting. This vulnerability allows an attacker to overwhelm the system's processing capabilities just like that. This vulnerability arises because the locale_accept_from_http function doesn't properly limit inputs to the ICU uloc_acceptLanguageFromHTTP function, permitting out-of-bounds read issues. This flaw allows attackers to send long inputs that the application can't handle, leading to potential service disruptions.

What to do

An attacker could send a long argument to the locale_accept_from_http function, causing a denial of service. This could lead to an application slowdown or crash, frustrating users and affecting the overall availability of services. While the impact is unclear, any disruption can be absolutely devastating for business continuity. Upgrade to PHP 5.5.38, 5.6.24, or 7.0.9 to patch this vulnerability. Review your application's dependencies to ensure you're not running an outdated version. Implement input validation to reject excessively long arguments to functions that process user input. You've got this! Follow these steps and you'll keep your applications running smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.05796 · 93.1th percentile
Published
2016-07-25T14:00Z
EPSS history
Timeline
  • 25 JUL 14:00Z
    The locale_accept_from_http function in ext/intl/locale/locale_methods.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 does not properly…
    cvelistv5