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

Configuration 1 (hide)

OR cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

History

19 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) ImageMagick es un software libre y de código abierto utilizado para editar y manipular imágenes digitales. Las versiones de ImageMagick inferiores a 14.8.2 incluyen funciones inseguras: SeekBlob(), que permite avanzar el desplazamiento del flujo más allá del final actual sin aumentar la capacidad, y WriteBlob(), que luego se expande por quantum + length (amortizado) en lugar de offset + length, y copia a data + offset. Cuando offset ? extent, la copia apunta a memoria más allá de la asignación, produciendo una escritura determinista en el heap en compilaciones de 64 bits. No se requiere un desbordamiento aritmético de 2??, delegados externos o configuraciones de política. Esto se corrigió en la versión 14.8.2.

03 Nov 2025, 19:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html -

10 Sep 2025, 15:31

Type Values Removed Values Added
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
First Time Imagemagick
Imagemagick imagemagick
References () https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e - () https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e - Patch
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg - Exploit, Mitigation, Vendor Advisory

08 Sep 2025, 14:15

Type Values Removed Values Added
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg -

05 Sep 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-05 22:15

Updated : 2026-10-19 17:10


NVD link : CVE-2025-57807

Mitre link : CVE-2025-57807

CVE.ORG link : CVE-2025-57807


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-122

Heap-based Buffer Overflow

CWE-131

Incorrect Calculation of Buffer Size

CWE-787

Out-of-bounds Write