Stack-based Buffer Overflow Affecting ImageMagick-debuginfo package, versions <0:6.9.10.68-3.22.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.91% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-IMAGEMAGICKDEBUGINFO-6467814
  • published20 Mar 2024
  • disclosed24 Mar 2019

Introduced: 24 Mar 2019

CVE-2019-9956  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ImageMagick-debuginfo to version 0:6.9.10.68-3.22.amzn1 or higher.
This issue was patched in ALAS-2024-1926.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-debuginfo package and not the ImageMagick-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

In ImageMagick 7.0.8-35 Q16, there is a stack-based buffer overflow in the function PopHexPixel of coders/ps.c, which allows an attacker to cause a denial of service or code execution via a crafted image file.