CVE-2017-17479

In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c

published December 8, 2017

CVSS
—
EPSS
4%
Percentile
90.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack-based buffer overflow hides in OpenJPEG 2.3.0! With a simple crafted image, an attacker could cause a denial of service or, even worse, execute arbitrary code! Think of it like a restaurant where one overcooked dish spills over into others, disrupting the entire kitchen operation. In this case, that dish represents an image file that goes a bit too far, causing chaos in the memory! This vulnerability allows an attacker to trigger an out-of-bounds write, potentially crashing the application or, in a worst-case scenario, executing malicious code. If exploited, it could lead to significant disruptions for users or even open the door to further attacks.

Put simply

Think of it like a restaurant where one overcooked dish spills over into others, disrupting the entire kitchen operation. In this case, that dish represents an image file that goes a bit too far, causing chaos in the memory! The bug lies in the pgxtoimage function within OpenJPEG's jpwl/convert.c file, where it fails to properly handle certain image inputs, resulting in a stack overflow. This can be exploited to corrupt memory and lead to serious consequences.

What to do

This vulnerability allows an attacker to trigger an out-of-bounds write, potentially crashing the application or, in a worst-case scenario, executing malicious code. If exploited, it could lead to significant disruptions for users or even open the door to further attacks. To protect your systems, upgrade to the latest version of OpenJPEG that addresses this vulnerability. Regularly audit your image handling processes and implement strict validation on any images processed by the software. Staying up to date is key! You've got this! Follow these steps, and you'll be keeping your systems safe and sound in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04042 · 90.6th percentile
Published
2017-12-08T19:00Z
EPSS history
Timeline
  • 08 DEC 19:00Z
    In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c
    cvelistv5