CVE & CISA-KEV Catalog

CVE-2025-55298

HIGHEPSS 91th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
ImageMagickAmazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-c++Amazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-c++-debuginfoAmazon
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-c++-develAmazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-debuginfoAmazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-debugsourceAmazon
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-develAmazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-docAmazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-libsAmazon
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-libs-debuginfoAmazon
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-perlAmazon
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:0:6.9.10.97-1.amzn2.0.16
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
ImageMagick-perl-debuginfoAmazon
Fixed in:1:6.9.12.82-1.amzn2023.0.11
Fixed in:1:6.9.12.82-1.amzn2023.0.11
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.6+deb12u4CVE-2025-55298
Fixed in:8:7.1.1.43+dfsg1-1+deb13u2CVE-2025-55298
Fixed in:8:7.1.2.3+dfsg1-1CVE-2025-55298
imagemagickUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm15USN-7812-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:8:6.8.9.9-7ubuntu5.16+esm14USN-7812-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4USN-7812-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
imagemagick-6.q16Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm14USN-7812-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
imagemagick-6.q16hdriUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
imagemagick-commonUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm15USN-7812-1

This Ubuntu release reached end-of-life on 2019-04-02.

libimage-magick-q16-perlUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm14USN-7812-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4USN-7812-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
libimage-magick-q16hdri-perlUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4USN-7812-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
libmagick++-6.q16-5v5Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm14USN-7812-1

This Ubuntu release reached end-of-life on 2021-04-02.

libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libmagick++-6.q16-8Ubuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
libmagick++-6.q16-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
libmagick++-6.q16hdri-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libmagick++-6.q16hdri-8Ubuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4USN-7812-1
libmagick++-6.q16hdri-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3USN-7812-1
libmagick++5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm15USN-7812-1

This Ubuntu release reached end-of-life on 2019-04-02.

libmagickcore-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm14USN-7812-1

This Ubuntu release reached end-of-life on 2021-04-02.

libmagickcore-6.q16-2-extraUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm14USN-7812-1

This Ubuntu release reached end-of-life on 2021-04-02.

libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm6USN-7812-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

4.49%probability of exploitation in 30 days
91stpercentile

High risk: more likely to be exploited than 91% of all known CVEs.

References

Exploit1
Release Notes1
Other references1

Related Vulnerabilities

Other CWE-123 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2026-43284High7.893%-Fix
CVE-2026-43500High7.893%-Fix
CVE-2026-46300High7.89.3%-Fix
CVE-2015-8271Critical9.85.9%-Fix
CVE-2017-10994High7.34.9%--
CVE-2014-5435Critical9.83.5%-Fix

Common questions

How do I fix CVE-2025-55298?

Published advisories record a fix for 54 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-55298 being actively exploited?

Not that we know of. CVE-2025-55298 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 4.5% is the estimated probability that it will be exploited in the next 30 days. That is higher than 91% of all scored CVEs.

How severe is CVE-2025-55298?

CVE-2025-55298 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-55298 affect?

Published advisories record a fix for ImageMagick (Amazon), ImageMagick-c++ (Amazon), ImageMagick-c++-debuginfo (Amazon), ImageMagick-c++-devel (Amazon), and 50 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-55298
CVE-2025-55298 severity badge

Markdown

[![CVE-2025-55298](https://tridentstack.com/cve/badge/CVE-2025-55298.svg)](https://tridentstack.com/cve/CVE-2025-55298)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-55298"><img src="https://tridentstack.com/cve/badge/CVE-2025-55298.svg" alt="CVE-2025-55298"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.