Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-55298

ImageMagick: ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution

Overview

Published
26 Aug 2025
Modified
17 Jun 2026
High CVE
19 Registry packages
35 OS packages
12 Linux distributions
Yes Fix available

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to ImageMagick versions 6.9.13-28 and 7.1.2-2, a format string bug vulnerability exists in InterpretImageFilename function where user input is directly passed to FormatLocaleString without proper sanitization. An attacker can overwrite arbitrary memory regions, enabling a wide range of attacks from heap overflow to remote code execution. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-123, CWE-134

Affected packages · 19

Packages affected by CVE-2025-55298
EcosystemPackageVulnerableFixed in
Julia ImageMagick_jll <7.1.2004+0 7.1.2004+0
NuGet Magick.NET-Q16-AnyCPU <14.8.1 14.8.1
NuGet Magick.NET-Q16-arm64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-HDRI-AnyCPU <14.8.1 14.8.1
NuGet Magick.NET-Q16-HDRI-arm64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-HDRI-OpenMP-x64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-HDRI-x64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-HDRI-x86 <14.8.1 14.8.1
NuGet Magick.NET-Q16-OpenMP-arm64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-OpenMP-x64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-x64 <14.8.1 14.8.1
NuGet Magick.NET-Q16-x86 <14.8.1 14.8.1
NuGet Magick.NET-Q8-AnyCPU <14.8.1 14.8.1
NuGet Magick.NET-Q8-arm64 <14.8.1 14.8.1
NuGet Magick.NET-Q8-OpenMP-arm64 <14.8.1 14.8.1
NuGet Magick.NET-Q8-OpenMP-x64 <14.8.1 14.8.1
NuGet Magick.NET-Q8-x64 <14.8.1 14.8.1
NuGet Magick.NET-Q8-x86 <14.8.1 14.8.1

Open a package to see all its vulnerabilities.

Operating systems · 30 fixes

Photon OS 2 releases · 1 package

fixed 2
imagemagick
Photon OS fixes for CVE-2025-55298
ReleasePackageFixed in
4.0 imagemagick +5 7.1.2.8-1.ph4
5.0 imagemagick +5 7.1.2.8-1.ph5

SUSE Linux Enterprise 6 releases · 3 packages

fixed 8
imagemagick-config-6-suse imagemagick imagemagick-config-7-upstream
SUSE Linux Enterprise fixes for CVE-2025-55298
ReleasePackageFixed inAdvisory
12.5 imagemagick-config-6-suse +5 6.8.8.1-71.212.1 SUSE-SU-2025:03150-1
15.4 imagemagick +8 7.1.0.9-150400.6.40.1 SUSE-SU-2025:03152-1
15.5 imagemagick +8 7.1.0.9-150400.6.40.1 SUSE-SU-2025:03152-1
15.6 imagemagick-config-7-upstream 7.1.0.9-150400.6.40.1 SUSE-SU-2025:03152-1
15.6 imagemagick +11 7.1.1.21-150600.3.20.1 SUSE-SU-2025:03164-1
15.7 imagemagick-config-7-upstream 7.1.0.9-150400.6.40.1 SUSE-SU-2025:03152-1

2 more rows

alpine 3 releases · 1 package

fixed 3
imagemagick
alpine fixes for CVE-2025-55298
ReleasePackageFixed in
3.23 imagemagick 7.1.2.8-r0
3.24 imagemagick 7.1.2.8-r0
edge imagemagick 7.1.2.8-r0

amazon linux 1 release · 1 package

fixed 1
imagemagick
amazon linux fixes for CVE-2025-55298
ReleasePackageFixed in
2023 imagemagick +11 1:6.9.12.82-1.amzn2023.0.11

debian 4 releases · 1 package

fixed 4
imagemagick
debian fixes for CVE-2025-55298
ReleasePackageFixed in
11 imagemagick 8:6.9.11.60+dfsg-1.3+deb11u6
12 imagemagick 8:6.9.11.60+dfsg-1.6+deb12u4
13 imagemagick 8:7.1.1.43+dfsg1-1+deb13u2
14 imagemagick 8:7.1.2.3+dfsg1-1

echo 1 release · 1 package

fixed 1
imagemagick
echo fixes for CVE-2025-55298
ReleasePackageFixed in
imagemagick 8:6.9.11.60+dfsg-1.6+deb12u4

minimos 1 release · 1 package

fixed 1
imagemagick
minimos fixes for CVE-2025-55298
ReleasePackageFixed in
imagemagick 7.1.2.0-r0

openSUSE 1 release · 1 package

fixed 1
imagemagick
openSUSE fixes for CVE-2025-55298
ReleasePackageFixed inAdvisory
Tumbleweed imagemagick +14 7.1.2.2-2.1 openSUSE-SU-2025:15498-1

openSUSE Leap 1 release · 1 package

fixed 1
imagemagick
openSUSE Leap fixes for CVE-2025-55298
ReleasePackageFixed inAdvisory
16.0 imagemagick +13 7.1.2.0-160000.4.1 openSUSE-SU-2025:20162-1

root.io debian 3 releases · 1 package

fixed 3
imagemagick
root.io debian fixes for CVE-2025-55298
ReleasePackageFixed in
11 imagemagick +1 8:6.9.11.60+dfsg-1.3+deb11u6
12 imagemagick +1 8:6.9.11.60+dfsg-1.6+deb12u4
13 imagemagick +1 8:7.1.1.43+dfsg1-1+deb13u2

seal Red Hat 1 release · 1 package

fixed 1
imagemagick
seal Red Hat fixes for CVE-2025-55298
ReleasePackageFixed in
7 imagemagick +1 6.9.10.68-6.el7_9+sp999

ubuntu 4 releases · 1 package

fixed 2 affected 2
imagemagick
ubuntu fixes for CVE-2025-55298
ReleasePackageFixed in
18.04-ESM imagemagick 8:6.9.7.4+dfsg-16ubuntu6.15+esm6
20.04-ESM imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
22.04 imagemagick affected
24.04 imagemagick affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.