Skip to content
Heist/ feed
Back to feed
LowFix available

imagemagick — security advisory

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

in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image depth size does not reset the size in the event there is an invalid size. The patch resets the depth to a proper size before throwing an exception. The memory leak can be triggered by a crafted input file that is processed by ImageMagick and could cause an impact to application reliability, such as denial of service. 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-27755
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:45 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-27755

core-osv · Original source

Published 8 Dec 2020, 22:15 UTC

in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image depth size does not reset the size in the event there is an invalid size. The patch resets the depth to a proper size before throwing an exception. The memory leak can be triggered by a crafted input file that is processed by ImageMagick and could cause an impact to application reliability, such as denial of service. This flaw affects ImageMagick versions prior to 7.0.9-0.

osv:DEBIAN-CVE-2020-27755

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": "f8fd1ba1e88abf8c29df5b3fb784267606d0d27b5c56b71ba5d9cc426703e41b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-27755",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-27755",
    "summary": "in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image depth size does not reset the size in the event there is an invalid size. The patch resets the depth to a proper size before throwing an exception. The memory leak can be triggered by a crafted input file that is processed by ImageMagick and could cause an impact to application reliability, such as denial of service. This flaw affects ImageMagick versions prior to 7.0.9-0.",
    "evidence": "osv:DEBIAN-CVE-2020-27755",
    "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-27755",
      "aliases": [
        "DEBIAN-CVE-2020-27755"
      ],
      "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-27755.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "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-27755.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "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-27755.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-26T12:02:41.840529862Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-27755"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-27755"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-27755",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452800,
  "published_at": "2020-12-08T22:15:18.29+00:00"
}