Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Magick.NET-Q16-x86
  4. ›
  5. CVE-2025-55298

CVE-2025-55298: ImageMagick has a Format String Bug in InterpretImageFilename leads to arbitrary code execution

August 26, 2025

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.

References

  • github.com/ImageMagick/ImageMagick
  • github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5
  • github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645
  • github.com/advisories/GHSA-9ccg-6pjw-x645
  • github.com/dlemstra/Magick.NET/releases/tag/14.8.1
  • nvd.nist.gov/vuln/detail/CVE-2025-55298

Code Behaviors & Features

Detect and mitigate CVE-2025-55298 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.8.1

Fixed versions

  • 14.8.1

Solution

Upgrade to version 14.8.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-123: Write-what-where Condition
  • CWE-134: Use of Externally-Controlled Format String

Source file

nuget/Magick.NET-Q16-x86/CVE-2025-55298.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 27 Aug 2025 00:18:48 +0000.