CVE-2025-68469: Magick.NET Q16 AnyCPU ImageMagick Has A Heap-buffer-overflow Vulnerability

LOW
Advisory Identifier: GHSA-fff3-4rp7-px97
CVSS 3.3
CWE-122
Published
Advisory Summary

CVE-2025-68469 is a LOW (CVSS 3.3) imagemagick has a heap-buffer-overflow vulnerability (CWE-122: Heap-based Buffer Overflow) affecting Magick.NET Q16 AnyCPU libraries in the NuGet ecosystem. The issue involves imagemagick has a heap-buffer-overflow. Remediation is available by upgrading affected packages to version 13.2.0.

CVE-2025-68469 at a Glance

CVE Identifier CVE-2025-68469
GHSA Identifier GHSA-fff3-4rp7-px97
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-122: Heap-based Buffer Overflow
Affected Product Magick.NET Q16 AnyCPU
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 3.3

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

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

How to Fix CVE-2025-68469

To remediate this vulnerability, upgrade all affected Magick.NET Q16 AnyCPU 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: 13.2.0
Upgrade Magick.NET-Q16-AnyCPU to 13.2.0
Magick.NET-Q16-HDRI-AnyCPU fixed: 13.2.0
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 13.2.0
Magick.NET-Q16-HDRI-OpenMP-arm64 fixed: 13.2.0
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 13.2.0
Magick.NET-Q16-HDRI-OpenMP-x64 fixed: 13.2.0
Upgrade Magick.NET-Q16-HDRI-OpenMP-x64 to 13.2.0
Magick.NET-Q16-HDRI-arm64 fixed: 13.2.0
Upgrade Magick.NET-Q16-HDRI-arm64 to 13.2.0
Magick.NET-Q16-HDRI-x64 fixed: 13.2.0
Upgrade Magick.NET-Q16-HDRI-x64 to 13.2.0
Magick.NET-Q16-HDRI-x86 fixed: 13.2.0
Upgrade Magick.NET-Q16-HDRI-x86 to 13.2.0
Magick.NET-Q16-OpenMP-arm64 fixed: 13.2.0
Upgrade Magick.NET-Q16-OpenMP-arm64 to 13.2.0
Magick.NET-Q16-OpenMP-x64 fixed: 13.2.0
Upgrade Magick.NET-Q16-OpenMP-x64 to 13.2.0
Magick.NET-Q16-arm64 fixed: 13.2.0
Upgrade Magick.NET-Q16-arm64 to 13.2.0
Magick.NET-Q16-x64 fixed: 13.2.0
Upgrade Magick.NET-Q16-x64 to 13.2.0
Magick.NET-Q16-x86 fixed: 13.2.0
Upgrade Magick.NET-Q16-x86 to 13.2.0
Magick.NET-Q8-AnyCPU fixed: 13.2.0
Upgrade Magick.NET-Q8-AnyCPU to 13.2.0
Magick.NET-Q8-OpenMP-arm64 fixed: 13.2.0
Upgrade Magick.NET-Q8-OpenMP-arm64 to 13.2.0
Magick.NET-Q8-OpenMP-x64 fixed: 13.2.0
Upgrade Magick.NET-Q8-OpenMP-x64 to 13.2.0
Magick.NET-Q8-arm64 fixed: 13.2.0
Upgrade Magick.NET-Q8-arm64 to 13.2.0
Magick.NET-Q8-x64 fixed: 13.2.0
Upgrade Magick.NET-Q8-x64 to 13.2.0
Magick.NET-Q8-x86 fixed: 13.2.0
Upgrade Magick.NET-Q8-x86 to 13.2.0
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-2025-68469, inspect your project dependencies for Magick.NET Q16 AnyCPU:

inspect dependencies for Magick.NET-Q16-AnyCPU

Analyze the terminal output to locate any version of Magick.NET Q16 AnyCPU in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.2.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-122: Heap-based Buffer Overflow, where a heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). In Magick.NET Q16 AnyCPU, 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

### Summary While Processing a crafted TIFF file, imagemagick crashes. ### Details Following is the imagemagick version: ``` imagemagick_git/build_26jun23/bin/magick --version Version: ImageMagick 7.1.1-13 (Beta) Q16-HDRI x86_64 56f478940:20230625 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Delegates (built-in): fontconfig freetype jbig jng jpeg lcms lzma pangocairo png tiff webp x xml zlib Compiler: gcc (4.2) ``` ### PoC issue can be replicated with following command with provided POC file(sent over email): ```bash magick poc.tiff /dev/null ``` ### Impact This can lead to application crash. ### Credits Please give credits to Hardik shah of Vehere (Dawn Treaders team)

CVE-2025-68469 Affected Magick.NET Q16 AnyCPU Versions

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

References

Frequently Asked Questions

What is CVE-2025-68469?
CVE-2025-68469 is a security vulnerability in Magick.NET Q16 AnyCPU involving ImageMagick has a heap-buffer-overflow under CWE-122: Heap-based Buffer Overflow.
Which Magick.NET Q16 AnyCPU versions are affected?
Affected versions include releases prior to 13.2.0 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-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-2025-68469?
Upgrading to 13.2.0 (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 13.2.0. Upgrade your dependency to 13.2.0 or later.
Is Magick.NET-Q16-HDRI-AnyCPU affected?
Yes, Magick.NET-Q16-HDRI-AnyCPU is affected in releases prior to 13.2.0. Upgrade your dependency to 13.2.0 or later.
What is the CVSS score of CVE-2025-68469?
CVE-2025-68469 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2025-68469?
CVE-2025-68469 is classified under CWE-122: Heap-based Buffer Overflow (A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().).
How can I check NuGet dependencies for CVE-2025-68469?
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-fff3-4rp7-px97",
  "modified" : "2025-12-31T22:18:05Z",
  "published" : "2025-08-25T15:54:51Z",
  "aliases" : [ "CVE-2025-68469" ],
  "summary" : "ImageMagick has a heap-buffer-overflow",
  "details" : "### Summary\nWhile Processing a crafted TIFF file, imagemagick crashes.\n\n### Details\nFollowing is the imagemagick version:\n```\nimagemagick_git/build_26jun23/bin/magick --version\nVersion: ImageMagick 7.1.1-13 (Beta) Q16-HDRI x86_64 56f478940:20230625 https://imagemagick.org\nCopyright: (C) 1999 ImageMagick Studio LLC\nLicense: https://imagemagick.org/script/license.php\nFeatures: Cipher DPC HDRI \nDelegates (built-in): fontconfig freetype jbig jng jpeg lcms lzma pangocairo png tiff webp x xml zlib\nCompiler: gcc (4.2)\n```\n### PoC\nissue can be replicated with following command with provided POC file(sent over email):\n```bash\nmagick poc.tiff /dev/null\n```\n### Impact\nThis can lead to application crash.\n\n### Credits\nPlease give credits to Hardik shah of Vehere (Dawn Treaders team)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fff3-4rp7-px97"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68469"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ImageMagick/ImageMagick"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-122" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-25T15:54:51Z",
    "nvd_published_at" : "2025-12-18T16:15:57Z"
  }
}