CVE-2020-25675
mediumpriority · track · 13EPSS 0.011 · 65 %ileEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.1–5.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (16)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1891933cnnvd
- https://github.com/ImageMagick/ImageMagick/commit/64dc80b2e1907f7f20bf34d4df9483f938b0de71Patchcnnvd
- https://lists.debian.org/debian-lts-announce/2021/03/msg00030.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-25675cnnvd
- https://vigilance.fr/vulnerability/ImageMagick-four-vulnerabilities-34357cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0205/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0276/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan