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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (9th 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-IMAGEMAGICKDEVEL-11482480
  • published5 Aug 2025
  • disclosed14 Jul 2025

Introduced: 14 Jul 2025

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

How to fix?

Upgrade Amazon-Linux:2023 ImageMagick-devel 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-devel package and not the ImageMagick-devel 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. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the InterpretImageFilename function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (%%). Versions 7.1.2-0 and 6.9.13-26 fix the issue.

CVSS Base Scores

version 3.1