CVE-2020-25675

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

Published Dec 8, 2020 CVSS 3.1 · 3.3 Low EPSS 1.1% KEV · Not listed
Description
In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was causing undefined behavior in the form of integer overflow and out-of-range values as reported by UndefinedBehaviorSanitizer. Such issues could cause a negative impact to application availability or other problems related to undefined behavior, in cases where ImageMagick processes untrusted input data. The upstream patch introduces functionality to constrain the pixel offsets and prevent these issues. This flaw affects ImageMagick versions prior to 7.0.9-0.

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-18337 In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was causing undefined behavior in the form of integer overflow and out-of-range values as reported by UndefinedBehaviorSanitizer. Such issues could cause a negative impact to application availability or other problems related to undefined behavior, in cases where ImageMagick processes untrusted input data. The upstream patch introduces functionality to constrain the pixel offsets and prevent these issues. This flaw affects ImageMagick versions prior to 7.0.9-0.
Ubuntu USN Ubuntu USN USN-4988-1 ImageMagick vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 3:40 PM
Reserved
Sep 16, 2020, 12:00 AM
Status
Modified
Published
Dec 8, 2020, 10:15 PM
Modified
Jun 17, 2026, 3:07 AM
Severity
Moderate
Public date
Oct 8, 2019, 12:00 AM