CVE-2025-57807

Low

Description

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.

SeverityLow
CVSS3.8
Exploit probability23. percentile0.3%
ProductImagemagick
PublishedSep 5, 2025
First seenSep 5, 2025

How to fix

Update
  • imagemagick imagemagick6.9.13-29, 7.1.2-3 or later
  • Magick.NET-Q16-x6414.8.2 or later
  • Magick.NET-Q8-x6414.8.2 or later
  • Magick.NET-Q16-HDRI-x6414.8.2 or later
  • Magick.NET-Q8-OpenMP-x6414.8.2 or later
  • Magick.NET-Q16-HDRI-OpenMP-x6414.8.2 or later
  • Magick.NET-Q16-OpenMP-x6414.8.2 or later
  • Magick.NET-Q8-arm6414.8.2 or later
  • Magick.NET-Q16-arm6414.8.2 or later
  • Magick.NET-Q16-OpenMP-arm6414.8.2 or later
  • Magick.NET-Q8-OpenMP-arm6414.8.2 or later
  • Magick.NET-Q16-HDRI-OpenMP-arm6414.8.2 or later

Affected products

ProductAffected versionsFixed in
imagemagick imagemagickv < 6.9.13-29, 7.0.0-0 ≤ v < 7.1.2-36.9.13-29, 7.1.2-3
Magick.NET-Q16-x64NuGetv < 14.8.214.8.2
Magick.NET-Q8-x64NuGetv < 14.8.214.8.2
Magick.NET-Q16-HDRI-x64NuGetv < 14.8.214.8.2
Magick.NET-Q8-OpenMP-x64NuGetv < 14.8.214.8.2
Magick.NET-Q16-HDRI-OpenMP-x64NuGetv < 14.8.214.8.2
Magick.NET-Q16-OpenMP-x64NuGetv < 14.8.214.8.2
Magick.NET-Q8-arm64NuGetv < 14.8.214.8.2
Magick.NET-Q16-arm64NuGetv < 14.8.214.8.2
Magick.NET-Q16-OpenMP-arm64NuGetv < 14.8.214.8.2
Magick.NET-Q8-OpenMP-arm64NuGetv < 14.8.214.8.2
Magick.NET-Q16-HDRI-OpenMP-arm64NuGetv < 14.8.214.8.2
Magick.NET-Q16-HDRI-arm64NuGetv < 14.8.214.8.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.