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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-05 · Modified: 2025-11-03
- Aliases: SUSE-SU-2025:03509-1, SUSE-SU-2025:03510-1, SUSE-SU-2025:03616-1, UBUNTU-CVE-2025-57807, DEBIAN-CVE-2025-57807, openSUSE-SU-2025:15543-1, GHSA-23hg-53q6-hqfg
- Record: https://cvemate.com/vulnerability/CVE-2025-57807 · JSON: https://cvemate.com/vulnerability/CVE-2025-57807/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.322%, percentile 27.212%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 21)

- debian imagemagick (Debian): \< 8:6.9.11.60+dfsg-1.6+deb12u4 \| \< 8:7.1.1.43+dfsg1-1+deb13u2 \| \< 8:7.1.2.3+dfsg1-1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.13+esm14 \| \< 8:6.8.9.9-7ubuntu5.16+esm13 \| \< 8:6.9.7.4+dfsg-16ubuntu6.15+esm5 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 \| \< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3 \| \< 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
- imagemagick imagemagick: \< 14.8.2 \| \< 6.9.13-29 \| ≥ 7.0.0-0, \< 7.1.2-3
- NuGet Magick.NET-Q16-arm64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-HDRI-arm64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-HDRI-x64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-OpenMP-arm64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-OpenMP-x64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q16-x64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q8-arm64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q8-OpenMP-arm64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q8-OpenMP-x64 (NuGet): \< 14.8.2
- NuGet Magick.NET-Q8-x64 (NuGet): \< 14.8.2
- opensuse ImageMagick&distro=openSUSE Leap 15.6 (openSUSE): \< 7.1.1.21-150600.3.23.1
- opensuse ImageMagick&distro=openSUSE Tumbleweed (openSUSE): \< 7.1.2.3-1.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6 (SUSE Linux Enterprise): \< 7.1.0.9-150400.6.43.1 \| \< 7.1.1.21-150600.3.23.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP7 (SUSE Linux Enterprise): \< 7.1.1.43-150700.3.16.1 \| \< 7.1.0.9-150400.6.43.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP6 (SUSE Linux Enterprise): \< 7.1.1.21-150600.3.23.1

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg>
- <https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202503509-1/>
- <https://bugzilla.suse.com/1249362>
- <https://www.suse.com/security/cve/CVE-2025-57807>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202503510-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202503616-1/>
- <https://ubuntu.com/security/CVE-2025-57807>
- <https://www.cve.org/CVERecord?id=CVE-2025-57807>
- <https://github.com/ImageMagick/ImageMagick6/commit/ab1bb3d8ed06d0ed6aa5038b6a74aebf53af9ccf>
- <https://ubuntu.com/security/notices/USN-7756-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-57807>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57807>
- <https://github.com/ImageMagick/ImageMagick>

---

Data as of 2026-12-05T09:11:20.094Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
