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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2020-12-08T00:00:00

Updated: 2024-08-04T15:40:36.627Z

Reserved: 2020-09-16T00:00:00

Link: CVE-2020-25675

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-12-08T22:15:17.397

Modified: 2024-11-21T05:18:26.113

Link: CVE-2020-25675

cve-icon Redhat

Severity : Moderate

Publid Date: 2019-10-08T00:00:00Z

Links: CVE-2020-25675 - Bugzilla