Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Magick.NET-Q8-x64
  4. ›
  5. CVE-2025-57807

CVE-2025-57807: ImageMagick BlobStream Forward-Seek Under-Allocation

September 5, 2025 (updated November 3, 2025)

For memory-backed blobs (BlobStream), SeekBlob() permits advancing the stream offset beyond the current end without increasing capacity. The subsequent WriteBlob() then expands by quantum + length (amortized) instead of offset + length, and copies to data + offset. When offset ≫ extent, the copy targets memory beyond the allocation, producing a deterministic heap write on 64-bit builds. No 2⁶⁴ arithmetic wrap, external delegates, or policy settings are required.


References

  • github.com/ImageMagick/ImageMagick
  • github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e
  • github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
  • github.com/advisories/GHSA-23hg-53q6-hqfg
  • lists.debian.org/debian-lts-announce/2025/09/msg00012.html
  • nvd.nist.gov/vuln/detail/CVE-2025-57807

Code Behaviors & Features

Detect and mitigate CVE-2025-57807 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 14.8.2

Fixed versions

  • 14.8.2

Solution

Upgrade to version 14.8.2 or above.

Impact 3.8 LOW

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-122: Heap-based Buffer Overflow
  • CWE-131: Incorrect Calculation of Buffer Size
  • CWE-787: Out-of-bounds Write

Source file

nuget/Magick.NET-Q8-x64/CVE-2025-57807.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:43 +0000.