Skip to main content
← All vulnerabilities
CVE-2025-57807GHSA-23HG-53Q6-HQFG

ImageMagick BlobStream Forward-Seek Under-Allocation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 14.8.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

ImageMagick is free and open-source software used for editing and manipulating digital images. ImageMagick versions lower than 14.8.2 include insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing capacity, and WriteBlob(), which 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. This is fixed in version 14.8.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ImageMagick ImageMagick

    fixed in 14.8.2

  • Magick.NET-Q16-x64NuGet

    fixed in 14.8.2

  • Magick.NET-Q8-x64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-HDRI-x64NuGet

    fixed in 14.8.2

  • Magick.NET-Q8-OpenMP-x64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-HDRI-OpenMP-x64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-OpenMP-x64NuGet

    fixed in 14.8.2

  • Magick.NET-Q8-arm64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-arm64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-OpenMP-arm64NuGet

    fixed in 14.8.2

  • Magick.NET-Q8-OpenMP-arm64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-HDRI-OpenMP-arm64NuGet

    fixed in 14.8.2

  • Magick.NET-Q16-HDRI-arm64NuGet

    fixed in 14.8.2

References 2

GitHub · ImageMagick/ImageMagick