CVE-2025-57807

LOW3.8EPSS 0.07%

ImageMagick BlobStream Forward-Seek Under-Allocation

Published: 9/5/2025Modified: 4/28/2026

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.

Affected packages (13)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1LOW3.8CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

References (6)