CVE-2016-1903

The gdImageRotateInterpolated function in ext/gd/libgd/gd_interpolation.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 allows remote…

published January 19, 2016

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

⚠️ A crafty parameter could lead to unexpected crashes! The gdImageRotateInterpolated function in older PHP versions allows for out-of-bounds reads, potentially leaking sensitive info or crashing your app. 🔥 Think of it like a restaurant kitchen that doesn’t measure ingredients properly. When a chef pours in an oversized amount of spice (the bgd_color argument), it can spill over into other dishes, causing chaos! 🍽️ This flaw can allow attackers to make your application behave unpredictably, leading to crashes or even exposing sensitive data. It's like leaving your gate wide open — you never know who might wander in!

Put simply

Think of it like a restaurant kitchen that doesn’t measure ingredients properly. When a chef pours in an oversized amount of spice (the bgd_color argument), it can spill over into other dishes, causing chaos! 🍽️ The vulnerability lies in the imagerotate function, where a large bgd_color value can trigger out-of-bounds reads, causing the application to crash or leak information.

What to do

This flaw can allow attackers to make your application behave unpredictably, leading to crashes or even exposing sensitive data. It's like leaving your gate wide open — you never know who might wander in! Upgrade to PHP versions 5.5.31, 5.6.17, or 7.0.2 and above to close this security hole. Regularly review and update your libraries to avoid similar issues in the future! 🛡️ You’ve got this! By taking these steps, you’ll be on your way to a more secure application. 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.07806 · 94.6th percentile
Published
2016-01-19T02:00Z
EPSS history
Timeline
  • 19 JAN 02:00Z
    The gdImageRotateInterpolated function in ext/gd/libgd/gd_interpolation.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 allows remote…
    cvelistv5