CVE-2020-27756
JSON

5.5medium

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead…

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.84% (higher than 55% of CVEs)
Published
Last changed
Assigned by
redhat

Description

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.

Affected

Product or packageVersionsReported by
ImageMagickprior to 7.0.9-0CVE List
imagemagick imagemagickfrom 6.9.9-34 before 6.9.10-69, from 7.0.0-0 before 7.0.9-0NVD

All scores

NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.

NVD (es)

En la función ParseMetaGeometry() del archivo MagickCore/geometry.c, los cálculos de altura y ancho de la imagen pueden conllevar a condiciones de división por cero que también conllevan a un comportamiento indefinido. Este fallo puede ser desencadenado por un archivo de entrada diseñado procesado por ImageMagick y podría impactar la disponibilidad de la aplicación. El parche utiliza la multiplicación aunado a la función "PerceptibleReciprocal()" a fin de impedir tales condiciones de división por cero. Este fallo afecta a ImageMagick versiones anteriores a 7.0.9-0

References

Sources

SourceRecordLicence
CVE ListCVE-2020-27756 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-27756 changed 2026-06-17Public domain