CVE-2016-2554

Stack-based buffer overflow in ext/phar/tar.c in PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3 allows remote attackers to cause a denial of…

published May 16, 2016

CVSS
—
EPSS
11%
Percentile
95.9
In the wild
Unconfirmed
What it is

⚠️ A crafted TAR archive is all it takes to potentially crash your PHP application. It’s like serving a dish that looks delicious but has a surprise ingredient that ruins the whole meal! 🍽️ Think of it as a restaurant's kitchen that accepts any recipe without checking for hidden allergens. One poorly crafted dish can cause chaos, leaving diners in a state of disarray and the staff scrambling to recover! If an attacker sends a specially designed TAR archive, it could result in an application crash, causing denial of service. This means your users might find your service suddenly unavailable, which can be particularly frustrating and damaging to your reputation. It’s not catastrophic, but it’s certainly annoying!

Put simply

Think of it as a restaurant's kitchen that accepts any recipe without checking for hidden allergens. One poorly crafted dish can cause chaos, leaving diners in a state of disarray and the staff scrambling to recover! This vulnerability is a stack-based buffer overflow in PHP’s handling of TAR archives. When PHP processes a malicious TAR file, it could overwrite memory, leading to a crash or unexpected behavior in the application.

What to do

If an attacker sends a specially designed TAR archive, it could result in an application crash, causing denial of service. This means your users might find your service suddenly unavailable, which can be particularly frustrating and damaging to your reputation. It’s not catastrophic, but it’s certainly annoying! To protect against this, upgrade your PHP version immediately to at least 5.5.32, 5.6.18, or 7.0.3. Additionally, implement strict validation procedures for file uploads to avoid accepting potentially harmful file types. You can totally tackle this! Update your PHP version and keep your application safe from mischief. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10997 · 95.9th percentile
Published
2016-05-16T10:00Z
EPSS history
Timeline
  • 16 MAY 10:00Z
    Stack-based buffer overflow in ext/phar/tar.c in PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3 allows remote attackers to cause a denial of…
    cvelistv5