Skip to content
Heist/ feed
Back to feed
LowFix available

imagemagick — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-25675

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.

Products
imagemagick
Affected versions
Not specified
Fixed versions
8:6.9.11.24+dfsg-1
CVEs
CVE-2020-25675
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:43 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-25675

core-osv · Original source

Published 8 Dec 2020, 22:15 UTC

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.

osv:DEBIAN-CVE-2020-25675

imagemagick

Fixed versions: 8:6.9.11.24+dfsg-1

imagemagick

Fixed versions: 8:6.9.11.24+dfsg-1

imagemagick

Fixed versions: 8:6.9.11.24+dfsg-1

Complete source record
{
  "id": "e9c1da850d981311d00e4ae4b1890a08ba2cec02593d46a6c8732cb41fb7184e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-25675",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-25675",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-25675",
    "products": [
      {
        "name": {
          "value": "imagemagick",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8:6.9.11.24+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "imagemagick",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8:6.9.11.24+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "imagemagick",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8:6.9.11.24+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2020-25675",
      "aliases": [
        "DEBIAN-CVE-2020-25675"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8:6.9.11.24+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "imagemagick",
            "purl": "pkg:deb/debian/imagemagick?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25675.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8:6.9.11.24+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "imagemagick",
            "purl": "pkg:deb/debian/imagemagick?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25675.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8:6.9.11.24+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "imagemagick",
            "purl": "pkg:deb/debian/imagemagick?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25675.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:02:40.547222572Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-25675"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-25675"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-25675",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452723,
  "published_at": "2020-12-08T22:15:17.397+00:00"
}