CVE Watchtower

CVE-2025-57807Imagemagick Imagemagick Heap-based Buffer Overflow

NVDCVSS scored by security-advisories@github.com

Vulnerability 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.
Severity Level
LOW(3.8)
Published Date
Sep 5, 2025
Last Modified
Oct 19, 2026
Exploitation Status
Public exploit available
EPSS Score (30-Day)
0.30%Probability
Root Weakness (CWE)
The buffer being overwritten is allocated in the heap portion of memory.
See the MITRE CWE entry for the full definition of this weakness.
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 3.8 (LOW)
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • Imagemagick Imagemagick < 6.9.13-29
  • Imagemagick Imagemagick >= 7.0.0-0 and < 7.1.2-3
Patched Versions
  • Imagemagick Imagemagick 6.9.13-29
  • Imagemagick Imagemagick 7.1.2-3

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Imagemagick Imagemagick and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Sep 5, 2025Published
  • Oct 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Imagemagick Imagemagick CVEsYou are reading CVE-2025-57807. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 19, 2026 10:07 UTC