CVE-2026-62946: ImageMagick Integer Overflow Vulnerability
MODERATECVE-2026-62946 is a MODERATE (CVSS 5.1) integer overflow vulnerability (CWE-190: Integer Overflow or Wraparound) affecting ImageMagick libraries in the NuGet ecosystem. The issue involves integer overflow in jnx decoder causes heap buffer over-write when processing extremly large files on 32-bit builds. Remediation is available by upgrading affected packages to version 14.15.0.
CVE-2026-62946 at a Glance
Security Impact
CVSS: 5.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-62946
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.
Upgrade Magick.NET-Q16-AnyCPU to 14.15.0
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.15.0
Upgrade Magick.NET-Q16-HDRI-x86 to 14.15.0
Upgrade Magick.NET-Q16-x86 to 14.15.0
Upgrade Magick.NET-Q8-AnyCPU to 14.15.0
Upgrade Magick.NET-Q8-x86 to 14.15.0
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-62946, 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.15.0), 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
CVE-2026-62946 Affected ImageMagick Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Magick.NET-Q16-AnyCPU
|
NuGet |
< 14.15.0
|
14.15.0
|
|
Magick.NET-Q16-HDRI-AnyCPU
|
NuGet |
< 14.15.0
|
14.15.0
|
|
Magick.NET-Q16-HDRI-x86
|
NuGet |
< 14.15.0
|
14.15.0
|
|
Magick.NET-Q16-x86
|
NuGet |
< 14.15.0
|
14.15.0
|
|
Magick.NET-Q8-AnyCPU
|
NuGet |
< 14.15.0
|
14.15.0
|
|
Magick.NET-Q8-x86
|
NuGet |
< 14.15.0
|
14.15.0
|
References
Frequently Asked Questions
What is CVE-2026-62946?
Which ImageMagick versions are affected?
What version fixes CVE-2026-62946?
Is Magick.NET-Q16-AnyCPU affected?
Is Magick.NET-Q16-HDRI-AnyCPU affected?
What is the CVSS score of CVE-2026-62946?
What CWE is associated with CVE-2026-62946?
How can I check NuGet dependencies for CVE-2026-62946?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h22j-f9xw-xjjm",
"modified" : "2026-07-24T16:20:31Z",
"published" : "2026-07-24T16:20:31Z",
"aliases" : [ "CVE-2026-62946" ],
"summary" : "ImageMagick: Integer Overflow in JNX decoder causes heap buffer over-write when processing extremly large files on 32-bit builds",
"details" : "When processing an extremely large JNX file on 32-bit platforms an integer overflow will happen that can cause a heap buffer over-write.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.15.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.15.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.15.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.15.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.15.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.15.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h22j-f9xw-xjjm"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ImageMagick/ImageMagick"
}, {
"type" : "WEB",
"url" : "https://github.com/dlemstra/Magick.NET/releases/tag/14.15.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-190" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-24T16:20:31Z",
"nvd_published_at" : null
}
}