GHSA-qv2q-c278-pch5: ImageMagick Information Disclosure Vulnerability
LOWGHSA-qv2q-c278-pch5 is a LOW (CVSS 3.7) information disclosure vulnerability (CWE-330: Use of Insufficiently Random Values) affecting ImageMagick libraries in the NuGet ecosystem. The issue involves information disclosure in passkeyencipherimage via aes-ctr nonce reuse. Remediation is available by upgrading affected packages to version 14.12.0.
GHSA-qv2q-c278-pch5 at a Glance
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).
How to Fix GHSA-qv2q-c278-pch5
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.12.0
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.12.0
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.12.0
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.12.0
Upgrade Magick.NET-Q16-HDRI-x64 to 14.12.0
Upgrade Magick.NET-Q16-HDRI-x86 to 14.12.0
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.12.0
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.12.0
Upgrade Magick.NET-Q16-arm64 to 14.12.0
Upgrade Magick.NET-Q16-x64 to 14.12.0
Upgrade Magick.NET-Q16-x86 to 14.12.0
Upgrade Magick.NET-Q8-AnyCPU to 14.12.0
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.12.0
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.12.0
Upgrade Magick.NET-Q8-arm64 to 14.12.0
Upgrade Magick.NET-Q8-x64 to 14.12.0
Upgrade Magick.NET-Q8-x86 to 14.12.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 GHSA-qv2q-c278-pch5, 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.12.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-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. 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
GHSA-qv2q-c278-pch5 Affected ImageMagick Versions
17 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Magick.NET-Q16-AnyCPU
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-HDRI-AnyCPU
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-HDRI-OpenMP-arm64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-HDRI-arm64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-HDRI-x64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-HDRI-x86
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-OpenMP-arm64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-OpenMP-x64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-arm64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-x64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q16-x86
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q8-AnyCPU
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q8-OpenMP-arm64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q8-OpenMP-x64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q8-arm64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q8-x64
|
NuGet |
< 14.12.0
|
14.12.0
|
|
Magick.NET-Q8-x86
|
NuGet |
< 14.12.0
|
14.12.0
|
References
Frequently Asked Questions
What is GHSA-qv2q-c278-pch5?
Which ImageMagick versions are affected?
What version fixes GHSA-qv2q-c278-pch5?
Is Magick.NET-Q16-AnyCPU affected?
Is Magick.NET-Q16-HDRI-AnyCPU affected?
What is the CVSS score of GHSA-qv2q-c278-pch5?
What CWE is associated with GHSA-qv2q-c278-pch5?
How can I check NuGet dependencies for GHSA-qv2q-c278-pch5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qv2q-c278-pch5",
"modified" : "2026-05-21T21:49:09Z",
"published" : "2026-05-21T21:49:09Z",
"aliases" : [ ],
"summary" : "ImageMagick: Information Disclosure in PasskeyEncipherImage via AES-CTR nonce reuse",
"details" : "The PasskeyEncipherImage method is vulnerable to information disclosure via AES-CTR nonce reuse. ImageMagick has update the documentation on its website to make it more clear that this is happening: https://imagemagick.org/cipher/",
"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.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-OpenMP-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-OpenMP-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-OpenMP-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-OpenMP-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qv2q-c278-pch5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ImageMagick/ImageMagick"
}, {
"type" : "WEB",
"url" : "https://imagemagick.org/cipher"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-323", "CWE-330" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-21T21:49:09Z",
"nvd_published_at" : null
}
}