CVE-2026-25984: ImageMagick Integer Overflow Vulnerability

LOW
Advisory Identifier: GHSA-273h-m46v-96q4
CVSS 3.7
CWE-190 CWE-125
Published
Advisory Summary

CVE-2026-25984 is a LOW (CVSS 3.7) integer overflow vulnerability (CWE-190: Integer Overflow or Wraparound) affecting ImageMagick libraries in the NuGet ecosystem. The issue involves integer overflow in psb (psd v2) rle decoding path causes heap out of bounds reads for 32-bit builds. Remediation is available by upgrading affected packages to version 14.10.3.

CVE-2026-25984 at a Glance

CVE Identifier CVE-2026-25984
GHSA Identifier GHSA-273h-m46v-96q4
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-190: Integer Overflow or Wraparound
Affected Product ImageMagick
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-25984

To remediate this vulnerability, upgrade all affected ImageMagick dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Magick.NET-Q16-AnyCPU fixed: 14.10.3
Upgrade Magick.NET-Q16-AnyCPU to 14.10.3
Magick.NET-Q16-HDRI-AnyCPU fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.10.3
Magick.NET-Q16-HDRI-OpenMP-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.10.3
Magick.NET-Q16-HDRI-OpenMP-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-OpenMP-x64 to 14.10.3
Magick.NET-Q16-HDRI-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.10.3
Magick.NET-Q16-HDRI-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-x64 to 14.10.3
Magick.NET-Q16-HDRI-x86 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-x86 to 14.10.3
Magick.NET-Q16-OpenMP-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.10.3
Magick.NET-Q16-OpenMP-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.10.3
Magick.NET-Q16-OpenMP-x86 fixed: 14.10.3
Upgrade Magick.NET-Q16-OpenMP-x86 to 14.10.3
Magick.NET-Q16-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-arm64 to 14.10.3
Magick.NET-Q16-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-x64 to 14.10.3
Magick.NET-Q16-x86 fixed: 14.10.3
Upgrade Magick.NET-Q16-x86 to 14.10.3
Magick.NET-Q8-AnyCPU fixed: 14.10.3
Upgrade Magick.NET-Q8-AnyCPU to 14.10.3
Magick.NET-Q8-OpenMP-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.10.3
Magick.NET-Q8-OpenMP-x64 fixed: 14.10.3
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.10.3
Magick.NET-Q8-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q8-arm64 to 14.10.3
Magick.NET-Q8-x64 fixed: 14.10.3
Upgrade Magick.NET-Q8-x64 to 14.10.3
Magick.NET-Q8-x86 fixed: 14.10.3
Upgrade Magick.NET-Q8-x86 to 14.10.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Magick.NET-Q16-AnyCPU

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-25984, inspect your project dependencies for ImageMagick:

inspect dependencies for Magick.NET-Q16-AnyCPU

Analyze the terminal output to locate any version of ImageMagick in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.10.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In ImageMagick, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An integer overflow in the PSB (PSD v2) RLE decoding path causes a heap out-of-bounds read on 32-bit builds. This can lead to information disclosure or a crash when processing crafted PSB files. ``` ================================================================= ==3298==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf512eb00 at pc 0xf76760b5 bp 0xffc1dfb8 sp 0xffc1dfa8 READ of size 8 at 0xf512eb00 thread T0 #0 0xf76760b4 in ReadPSDChannelRLE coders/psd.c:1141 ```

CVE-2026-25984 Affected ImageMagick Versions

19 component(s)
Fixed Versions:
14.10.3
Product / Package Ecosystem Affected Versions Fixed Version
Magick.NET-Q16-AnyCPU
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-AnyCPU
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-OpenMP-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-OpenMP-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-x86
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-OpenMP-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-OpenMP-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-OpenMP-x86
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-x86
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-AnyCPU
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-OpenMP-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-OpenMP-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-x86
NuGet
< 14.10.3
14.10.3

References

Frequently Asked Questions

What is CVE-2026-25984?
CVE-2026-25984 is a security vulnerability in ImageMagick involving Integer Overflow in PSB (PSD v2) RLE decoding path causes heap Out of Bounds reads for 32-bit builds under CWE-190: Integer Overflow or Wraparound.
Which ImageMagick versions are affected?
Affected versions include releases prior to 14.10.3 across affected packages: Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-OpenMP-x64, Magick.NET-Q16-HDRI-arm64, Magick.NET-Q16-HDRI-x64, Magick.NET-Q16-HDRI-x86, Magick.NET-Q16-OpenMP-arm64, Magick.NET-Q16-OpenMP-x64, Magick.NET-Q16-OpenMP-x86, Magick.NET-Q16-arm64, Magick.NET-Q16-x64, Magick.NET-Q16-x86, Magick.NET-Q8-AnyCPU, Magick.NET-Q8-OpenMP-arm64, Magick.NET-Q8-OpenMP-x64, Magick.NET-Q8-arm64, Magick.NET-Q8-x64, Magick.NET-Q8-x86.
What version fixes CVE-2026-25984?
Upgrading to 14.10.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Magick.NET-Q16-AnyCPU affected?
Yes, Magick.NET-Q16-AnyCPU is affected in releases prior to 14.10.3. Upgrade your dependency to 14.10.3 or later.
Is Magick.NET-Q16-HDRI-AnyCPU affected?
Yes, Magick.NET-Q16-HDRI-AnyCPU is affected in releases prior to 14.10.3. Upgrade your dependency to 14.10.3 or later.
What is the CVSS score of CVE-2026-25984?
CVE-2026-25984 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-25984?
CVE-2026-25984 is classified under CWE-190: Integer Overflow or Wraparound (The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.).
How can I check NuGet dependencies for CVE-2026-25984?
Run the dependency tree command: 'inspect dependencies for Magick.NET-Q16-AnyCPU'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-273h-m46v-96q4",
  "modified" : "2026-02-25T15:20:16Z",
  "published" : "2026-02-25T15:20:15Z",
  "aliases" : [ "CVE-2026-25984" ],
  "summary" : "ImageMagick: Integer Overflow in PSB (PSD v2) RLE decoding path causes heap Out of Bounds reads for 32-bit builds",
  "details" : "An integer overflow in the PSB (PSD v2) RLE decoding path causes a heap out-of-bounds read on 32-bit builds. This can lead to information disclosure or a crash when processing crafted PSB files.\n\n```\n=================================================================\n==3298==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf512eb00 at pc 0xf76760b5 bp 0xffc1dfb8 sp 0xffc1dfa8\nREAD of size 8 at 0xf512eb00 thread T0\n    #0 0xf76760b4 in ReadPSDChannelRLE coders/psd.c:1141\n```",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-273h-m46v-96q4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25984"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/commit/5b91ab69af614024255fd93dcc9a62b41fbc435c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ImageMagick/ImageMagick"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125", "CWE-190" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-25T15:20:15Z",
    "nvd_published_at" : "2026-02-23T22:16:25Z"
  }
}