VDB

CVE-2025-55298

CVE-2025-55298 PUBLISHED CVSS 7.5 HIGH

ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution

Reported by github_m · Published August 26, 2025

Magick.NET-Q8-x86 is fixed in 14.8.1 (NuGet)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
Magick.NET-Q8-x86NuGet14.8.1
magick.net-q16-x64NuGet14.8.1
Magick.NET-Q16-x86NuGet14.8.1
ImageMagick-libsAmazon Linux1:6.9.12.82-1.amzn2023.0.11

Risk scores

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

Affected products

VendorProductVersions
ImageMagickImageMagick< 7.1.2-2, < 6.9.13-28
NuGetmagick.net-q16-x640
amazon:2023ImageMagick-libs0
ImageMagickImageMagick0, 0
NuGetMagick.NET-Q16-x860
NuGetMagick.NET-Q16-HDRI-x640
NuGetmagick.net-q8-openmp-x640
NuGetMagick.NET-Q16-HDRI-AnyCPU0
NuGetMagick.NET-Q8-OpenMP-arm640
amazon:2ImageMagick-c++-devel0
NuGetmagick.net-q16-hdri-anycpu0
NuGetMagick.NET-Q8-OpenMP-x640
amazon:2023ImageMagick-devel0
amazon:2ImageMagick0
NuGetMagick.NET-Q8-arm640
NuGetmagick.net-q16-anycpu0
NuGetmagick.net-q8-x640
NuGetMagick.NET-Q16-HDRI-OpenMP-x640
NuGetMagick.NET-Q16-OpenMP-arm640
NuGetMagick.NET-Q16-HDRI-x860

…and 20 more

Timeline

  • Aug 25, 2025 CVE Published
  • Aug 27, 2025 EPSS Score (30 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Mar 18, 2026 Security Advisory (7 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-55298
vulnetix vdb fixes CVE-2025-55298

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-55298/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›