1. Archivio CVE
  2. 2025
  3. CVE-2025-53101

CVE-2025-53101

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
imagemagick imagemagick < 6.9.13-26 –
imagemagick imagemagick >= 7.0.0-0 < 7.1.2-0 –
Tutte le 950 vulnerabilità di Imagemagick

Tipo di vulnerabilità

CWE-124 Buffer Underwrite

The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità Modificare la memoria, Interruzione del servizio: arresto o riavvio
Integrità, Riservatezza, Disponibilità, Controllo degli accessi, Altro Eseguire codice o comandi non autorizzati, Modificare la memoria, Aggirare i meccanismi di protezione, Altro
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Requisiti Choose a language that is not susceptible to these issues.
Sviluppo All calculated values that are used as index or for pointer arithmetic should be validated to ensure that they are within an expected range.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 40 CVE di tipo CWE-124, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org