CVE-2025-57807CWE-122CWE-131CWE-787

CVE-2025-57807

Low · published September 6, 2025

CVSS v3.1
3.8
EPSS
0%
Percentile
20.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.8 · LOW
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00292 · 20.6th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-131 · Incorrect Calculation of Buffer Size; CWE-787 · Out-of-bounds Write
Published
2025-09-06T02:15Z
Affected products (2)
ProductVersionsFixed in
imagemagick/imagemagick< 6.9.13-296.9.13-29
imagemagick/imagemagick≥ 7.0.0-0, < 7.1.2-37.1.2-3
References (4)
EPSS history
Timeline
  • 05 SEP 21:16Z
    ImageMagick BlobStream Forward-Seek Under-Allocation
    cvelistv5