{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-55298","id":"CVE-2025-55298","title":"ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution","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","descriptionLong":"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.","published":"2025-08-26T17:20:17.112Z","updated":"2026-11-06T13:09:30.872260183Z","reserved":"2025-08-12T16:15:30.238Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["ImageMagick"],"affectedProducts":[{"vendor":"ImageMagick","product":"ImageMagick","defaultStatus":null,"versions":[{"version":"< 7.1.2-2","status":"affected"},{"version":"< 6.9.13-28","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-AnyCPU","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-HDRI-AnyCPU","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-arm64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-arm64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","purl":"pkg:nuget/Magick.NET-Q16-arm64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","purl":"pkg:nuget/Magick.NET-Q16-x64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","purl":"pkg:nuget/Magick.NET-Q16-x86","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","purl":"pkg:nuget/Magick.NET-Q8-AnyCPU","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-arm64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-x64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","purl":"pkg:nuget/Magick.NET-Q8-arm64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","purl":"pkg:nuget/Magick.NET-Q8-x64","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","purl":"pkg:nuget/Magick.NET-Q8-x86","ranges":["<14.8.1"],"fixed":["14.8.1"],"advisory":"GHSA-9ccg-6pjw-x645"}],"cwes":["CWE-123","CWE-134"],"aliases":["GHSA-9ccg-6pjw-x645"],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55298.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55298","tags":["advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.04849,"epssPercentile":0.92204,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-55298","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55298","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-55298","ok":true,"note":"18 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9ccg-6pjw-x645","ok":true,"note":"GHSA-9ccg-6pjw-x645"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-55298","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}