Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-25675

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

Overview

Published
8 Dec 2020
Modified
17 Jun 2026
Low CVE
1 Registry packages
16 OS packages
7 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

3.3 · LOW

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Weakness: CWE-190

Affected packages · 1

Packages affected by CVE-2020-25675
EcosystemPackageVulnerableFixed in
Julia ImageMagick_jll <6.9.12+0 6.9.12+0

Open a package to see all its vulnerabilities.

Operating systems · 17 fixes

Red Hat 1 release · 1 package

eol 1
imagemagick
Red Hat fixes for CVE-2020-25675
ReleasePackageFixed in
7 imagemagick +5 eol

SUSE Linux Enterprise 1 release · 1 package

fixed 1
imagemagick
SUSE Linux Enterprise fixes for CVE-2020-25675
ReleasePackageFixed inAdvisory
12.5 imagemagick +9 6.8.8.1-71.154.1 SUSE-SU-2021:0199-1

debian 6 releases · 1 package

fixed 6
imagemagick
debian fixes for CVE-2020-25675
ReleasePackageFixed in
10 imagemagick 8:6.9.10.23+dfsg-2.1+deb10u2
11 imagemagick 8:6.9.11.24+dfsg-1
12 imagemagick 8:6.9.11.24+dfsg-1
13 imagemagick 8:6.9.11.24+dfsg-1
14 imagemagick 8:6.9.11.24+dfsg-1
9 imagemagick 8:6.9.7.4+dfsg-11+deb9u12

echo 1 release · 1 package

fixed 1
imagemagick
echo fixes for CVE-2020-25675
ReleasePackageFixed in
imagemagick 8:6.9.11.24+dfsg-1

root.io debian 3 releases · 1 package

fixed 3
rootio-imagemagick
root.io debian fixes for CVE-2020-25675
ReleasePackageFixed in
11 rootio-imagemagick 8:6.9.11.24+dfsg-1
12 rootio-imagemagick 8:6.9.11.24+dfsg-1
13 rootio-imagemagick 8:6.9.11.24+dfsg-1

seal Red Hat 1 release · 1 package

fixed 1
imagemagick
seal Red Hat fixes for CVE-2020-25675
ReleasePackageFixed in
7 imagemagick +1 6.9.10.68-6.el7_9+sp999

ubuntu 4 releases · 1 package

fixed 4
imagemagick
ubuntu fixes for CVE-2020-25675
ReleasePackageFixed in
18.04 imagemagick 8:6.9.7.4+dfsg-16ubuntu6.11
18.04-ESM imagemagick 8:6.9.7.4+dfsg-16ubuntu6.11
20.04 imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.4
20.04-ESM imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.4

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.