GHSA-39h3-g67r-7g3c is a medium-severity (CVSS 6.5) CWE-763 vulnerability in Magick.NET-Q8-x64. A fix is available for Magick.NET-Q8-x64 — see the affected versions and patch details below.
ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-39h3-g67r-7g3c.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
GHSA-39h3-g67r-7g3c plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 379,145 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
Magick.NET-Q8-x64.NETMagick.NET-Q8-arm64.NETMagick.NET-Q8-x86.NETMagick.NET-Q8-OpenMP-x64.NETMagick.NET-Q8-OpenMP-arm64.NETMagick.NET-Q16-x64.NETMagick.NET-Q16-arm64.NETMagick.NET-Q16-x86+11 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But, in versions prior to 7.1.2-13, the last element in the set is not properly initialized. This will result in a release of an invalid pointer inside DestroyBilateralTLS when the memory allocation fails. Version 7.1.2-13 contains a patch for the issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Magick.NET-Q8-x64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-x64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-arm64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-arm64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-x86 | all versions | 14.10.2dotnet add package Magick.NET-Q8-x86 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-OpenMP-x64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-OpenMP-arm64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q16-x64 | all versions | 14.10.2dotnet add package Magick.NET-Q16-x64 --version 14.10.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Magick.NET-Q8-x64, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Magick.NET-Q8-x64 to 14.10.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-39h3-g67r-7g3c is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-39h3-g67r-7g3c can be triaged on real exposure rather than presence alone.
Tailored to GHSA-39h3-g67r-7g3c. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated Moderate for Red Hat products as it affects ImageMagick, a widely used image processing library. A flaw in the `BilateralBlurImage` method can lead to a release of an invalid pointer when memory allocation fails, potentially resulting in a denial of service. This issue impacts Red Hat…
To mitigate this issue, avoid processing untrusted image files with ImageMagick. If ImageMagick is used in an automated or server-side context, consider implementing sandboxing mechanisms to limit the impact of potential exploitation. Restricting the sources of images processed by ImageMagick to trusted origins can also reduce exposure.Source: Red Hat security advisory for GHSA-39h3-g67r-7g3c (CC BY 4.0)
Frequently Asked Questions
Is GHSA-39h3-g67r-7g3c in your dependencies?
O3 Security finds GHSA-39h3-g67r-7g3c across NuGet dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.