Skip to content
Noroxi
CVE-2025-55005· NVD / CVE Program· CNA GitHub_M

ImageMagick: heap-buffer overflow in log colorspace handling

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, when preparing to transform from Log to sRGB colorspaces, the logmap construction fails to handle cases where the reference-black or reference-white value is larger than 1024. This leads to corrupting memory beyond the end of the allocated logmap buffer. This issue has been patched in version 7.1.2-1.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Aug 13, 2025
Updated
Jun 17, 2026
EPSS
0.3% · 17th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
5.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
imagemagickimagemagick

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • imagemagick imagemagickbefore 7.1.2-1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • ImageMagick ImageMagick

    • < 7.1.2-1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:13imagemagickbefore 8:7.1.1.43+dfsg1-1+deb13u28:7.1.1.43+dfsg1-1+deb13u2
Debian:14imagemagickbefore 8:7.1.2.1+dfsg1-18:7.1.2.1+dfsg1-1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSImageMagickbefore 7.0.7.34-150200.10.62.17.0.7.34-150200.10.62.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6ImageMagickbefore 7.1.0.9-150400.6.40.17.1.0.9-150400.6.40.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6ImageMagickbefore 7.1.1.21-150600.3.20.17.1.1.21-150600.3.20.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6ImageMagickbefore 7.1.1.21-150600.3.20.17.1.1.21-150600.3.20.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7ImageMagickbefore 7.1.1.43-150700.3.13.17.1.1.43-150700.3.13.1
SUSE:Linux Enterprise Server 12 SP5-LTSSImageMagickbefore 6.8.8.1-71.212.16.8.8.1-71.212.1

Other highest-scoring records for the same primary product.

  • CVE-2016-3714The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x beforKEV
    92Now
  • CVE-2016-3718The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request KEV
    75This week
  • CVE-2016-3715The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary files via a crafted imKEV
    75This week
  • CVE-2022-44268ImageMagick 7.1.0-49 is vulnerable to Information Disclosure.
    53Plan
  • CVE-2022-44267ImageMagick 7.1.0-49 is vulnerable to Denial of Service.
    49Plan
  • CVE-2016-5841Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fa
    43Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
ImageMagick ImageMagick7.1.2-1 · descriptionVendor (CNA)
debian:imagemagick8:7.1.1.43+dfsg1-1+deb13u2 · Debian:13Package registry (OSV)
opensuse:ImageMagick7.1.1.21-150600.3.20.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:ImageMagick7.1.1.21-150600.3.20.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP6Package registry (OSV)
suse:ImageMagick7.1.1.43-150700.3.13.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-5780723 days apartImageMagick BlobStream Forward-Seek Under-Allocation
    39Monitor
  • CVE-2026-23876159 days apartHeap buffer overflow with attacker-controlled data in XBM parser
    39Monitor
  • CVE-2026-25897194 days apartImageMagick has heap overflow in sun decoder on 32-bit systems that can result in out of bounds write
    39Monitor
  • CVE-2026-26284194 days apartImageMagick has heap overflow in pcd decoder that leads to out of bounds read.
    36Monitor
  • CVE-2025-5780313 days apartImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow
    35Monitor
  • CVE-2026-25794194 days apartImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when writing UHDR images with large dimensions
    32Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records