# CVE-2020-25675

- Priority: **Routine**
- Reason: Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-12-08 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-25675, DEBIAN-CVE-2020-25675
- Record: https://cvemate.com/vulnerability/CVE-2020-25675 · JSON: https://cvemate.com/vulnerability/CVE-2020-25675/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:N/I:N/A:P
- EPSS: 1.085%, percentile 66.381%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian imagemagick (Debian): \< 8:6.9.11.24+dfsg-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded) \| \< 8:6.7.7.10-6ubuntu3.13+esm29 \| \< 8:6.8.9.9-7ubuntu5.16+esm28 \| \< 8:6.9.7.4+dfsg-16ubuntu6.11 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.4
- debian debian\_linux: 9.0
- imagemagick imagemagick: \< 6.9.10-69 \| ≥ 7.0.0-0, \< 7.0.9-0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1891933>
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html>
- <https://ubuntu.com/security/CVE-2020-25675>
- <https://ubuntu.com/security/notices/USN-4988-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-25675>
- <https://security-tracker.debian.org/tracker/CVE-2020-25675>
- <https://ubuntu.com/security/notices/USN-9469-1>

---

Data as of 2026-12-05T03:44:09.920Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
