CVE-2025-57807

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.
Configurations

No configuration.

History

05 Sep 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-05 22:15

Updated : 2025-09-05 22:15


NVD link : CVE-2025-57807

Mitre link : CVE-2025-57807

CVE.ORG link : CVE-2025-57807


JSON object : View

Products Affected

No product.

CWE
CWE-122

Heap-based Buffer Overflow

CWE-131

Incorrect Calculation of Buffer Size

CWE-787

Out-of-bounds Write