Out-of-bounds Read Affecting ImageMagick-perl package, versions <1:6.9.12.82-1.amzn2023.0.9


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (16th 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-AMZN2023-IMAGEMAGICKPERL-11482553
  • published5 Aug 2025
  • disclosed14 Jul 2025

Introduced: 14 Jul 2025

CVE-2025-53019  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 ImageMagick-perl to version 1:6.9.12.82-1.amzn2023.0.9 or higher.
This issue was patched in ALAS2023-2025-1126.

NVD Description

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

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's magick stream command, specifying multiple consecutive %d format specifiers in a filename template causes a memory leak. Versions 7.1.2-0 and 6.9.13-26 fix the issue.

CVSS Base Scores

version 3.1