Out-of-bounds Read Affecting imagemagick package, versions <8:6.9.7.4+dfsg-16ubuntu6.15+esm4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (19th 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-UBUNTU1804-IMAGEMAGICK-10769068
  • published30 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 Ubuntu:18.04 imagemagick to version 8:6.9.7.4+dfsg-16ubuntu6.15+esm4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 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