CVE-2020-27754

ImageMagick: outside the range of representable values of type 'long' and signed integer overflow at MagickCore/quantize.c

Published Dec 8, 2020 CVSS 3.1 · 3.3 Low EPSS 1.1% KEV · Not listed
Description
In IntensityCompare() of /magick/quantize.c, there are calls to PixelPacketIntensity() which could return overflowed values to the caller when ImageMagick processes a crafted input file. To mitigate this, the patch introduces and uses the ConstrainPixelIntensity() function, which forces the pixel intensities to be within the proper bounds in the event of an overflow. This flaw affects ImageMagick versions prior to 6.9.10-69 and 7.0.8-69.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2602-1 imagemagick security update
Debian DLA Debian DLA DLA-3357-1 imagemagick security update
EUVD EUVD EUVD-2020-20258 In IntensityCompare() of /magick/quantize.c, there are calls to PixelPacketIntensity() which could return overflowed values to the caller when ImageMagick processes a crafted input file. To mitigate this, the patch introduces and uses the ConstrainPixelIntensity() function, which forces the pixel intensities to be within the proper bounds in the event of an overflow. This flaw affects ImageMagick versions prior to 6.9.10-69 and 7.0.8-69.
Ubuntu USN Ubuntu USN USN-4988-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-7068-1 ImageMagick vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 4:18 PM
Reserved
Oct 27, 2020, 12:00 AM
Status
Modified
Published
Dec 8, 2020, 10:15 PM
Modified
Jun 17, 2026, 3:09 AM
Severity
Low
Public date
Oct 14, 2019, 12:00 AM