Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3610

A heap-based buffer overflow vulnerability was found in ImageMagick in versions prior to 7.0.11-14 in ReadTIFFImage() in coders/tiff.c. This issue is due to an incorrect setting of the pixel array size, which can lead to a crash and segmentation fault.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3610
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:27 UTC · Revision 1

Source evidence

CVE-2021-3610

core-osv · Original source

Published 24 Feb 2022, 19:15 UTC

A heap-based buffer overflow vulnerability was found in ImageMagick in versions prior to 7.0.11-14 in ReadTIFFImage() in coders/tiff.c. This issue is due to an incorrect setting of the pixel array size, which can lead to a crash and segmentation fault.

osv:CVE-2021-3610
Complete source record
{
  "id": "27d856d2bd81319b58f55e2beeae841666d21790afbba7fade0bb376787723b8",
  "url": "https://osv.dev/vulnerability/CVE-2021-3610",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3610",
    "summary": "A heap-based buffer overflow vulnerability was found in ImageMagick in versions prior to 7.0.11-14 in ReadTIFFImage() in coders/tiff.c. This issue is due to an incorrect setting of the pixel array size, which can lead to a crash and segmentation fault.",
    "evidence": "osv:CVE-2021-3610",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3610",
      "aliases": [
        "CVE-2021-3610"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8792ac70e2e373032dba1e30168e4a4e3609ca28"
                },
                {
                  "fixed": "930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0-0"
                      },
                      {
                        "fixed": "7.0.11-14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.11-13",
            "7.0.11-12",
            "7.0.11-11",
            "7.0.11-10",
            "7.0.11-9",
            "7.0.11-8",
            "7.0.11-7",
            "7.0.11-6",
            "7.0.11-5",
            "7.0.11-4",
            "7.0.11-3",
            "7.0.11-2",
            "7.0.11-1",
            "7.0.11-0",
            "7.0.10-62",
            "7.0.10-61",
            "7.0.10-60",
            "7.0.10-59",
            "7.0.10-58",
            "7.0.10-57",
            "7.0.10-56",
            "7.0.10-55",
            "7.0.10-54",
            "7.0.10-53",
            "7.0.10-52",
            "7.0.10-51",
            "7.0.10-50",
            "7.0.10-49",
            "7.0.10-48",
            "7.0.10-47",
            "7.0.10-46",
            "7.0.10-45",
            "7.0.10-44",
            "7.0.10-43",
            "7.0.10-42",
            "7.0.10-41",
            "7.0.10-40",
            "7.0.10-39",
            "7.0.10-38",
            "7.0.10-37",
            "7.0.10-36",
            "7.0.10-35",
            "7.0.10-34",
            "7.0.10-33",
            "7.0.10-32",
            "7.0.10-31",
            "7.0.10-30",
            "7.0.10-29",
            "7.0.10-28",
            "7.0.10-27",
            "7.0.10-26",
            "7.0.10-25",
            "7.0.10-24",
            "7.0.10-23",
            "7.0.10-22",
            "7.0.10-21",
            "7.0.10-20",
            "7.0.10-19",
            "7.0.10-18",
            "7.0.10-17",
            "7.0.10-16",
            "7.0.10-15",
            "7.0.10-14",
            "7.0.10-13",
            "7.0.10-12",
            "7.0.10-11",
            "7.0.10-10",
            "7.0.10-9",
            "7.0.10-8",
            "7.0.10-7",
            "7.0.10-6",
            "7.0.10-5",
            "7.0.10-4",
            "7.0.10-3",
            "7.0.10-2",
            "7.0.10-1",
            "7.0.10-0",
            "7.0.9-27",
            "7.0.9-26",
            "7.0.9-25",
            "7.0.9-24",
            "7.0.9-23",
            "7.0.9-22",
            "7.0.9-21",
            "7.0.9-20",
            "7.0.9-19",
            "7.0.9-18",
            "7.0.9-17",
            "7.0.9-16",
            "7.0.9-15",
            "7.0.9-14",
            "7.0.9-13",
            "7.0.9-12",
            "7.0.9-11",
            "7.0.9-10",
            "7.0.9-9",
            "7.0.9-8",
            "7.0.9-7",
            "7.0.9-6",
            "7.0.9-5",
            "7.0.9-4",
            "7.0.9-2",
            "7.0.9-1",
            "7.0.9-0",
            "7.0.8-68",
            "7.0.8-67",
            "7.0.8-66",
            "7.0.8-65",
            "7.0.8-64",
            "7.0.8-63",
            "7.0.8-62",
            "7.0.8-61",
            "7.0.8-60",
            "7.0.8-59",
            "7.0.8-58",
            "7.0.8-57",
            "7.0.8-56",
            "7.0.8-55",
            "7.0.8-54",
            "7.0.8-53",
            "7.0.8-52",
            "7.0.8-51",
            "7.0.8-50",
            "7.0.8-49",
            "7.0.8-48",
            "7.0.8-47",
            "7.0.8-46",
            "7.0.8-45",
            "7.0.8-44",
            "7.0.8-43",
            "7.0.8-42",
            "7.0.8-41",
            "7.0.8-40",
            "7.0.8-39",
            "7.0.8-38",
            "7.0.8-37",
            "7.0.8-36",
            "7.0.8-35",
            "7.0.8-34",
            "7.0.8-33",
            "7.0.8-32",
            "7.0.8-31",
            "7.0.8-30",
            "7.0.8-29",
            "7.0.8-28",
            "7.0.8-27",
            "7.0.8-26",
            "7.0.8-25",
            "7.0.8-24",
            "7.0.8-23",
            "7.0.8-22",
            "7.0.8-21",
            "7.0.8-20",
            "7.0.8-19",
            "7.0.8-18",
            "7.0.8-17",
            "7.0.8-16",
            "7.0.8-15",
            "7.0.8-14",
            "7.0.8-13",
            "7.0.8-12",
            "7.0.8-11",
            "7.0.8-10",
            "7.0.8-9",
            "7.0.8-8",
            "7.0.8-7",
            "7.0.8-6",
            "7.0.8-5",
            "7.0.8-4",
            "7.0.8-3",
            "7.0.8-2",
            "7.0.8-1",
            "7.0.8-0",
            "7.0.7-39",
            "7.0.7-38",
            "7.0.7-37",
            "7.0.7-36",
            "7.0.7-35",
            "7.0.7-34",
            "7.0.7-33",
            "7.0.7-32",
            "7.0.7-31",
            "7.0.7-30",
            "7.0.7-29",
            "7.0.7-28",
            "7.0.7-27",
            "7.0.7-26",
            "7.0.7-25",
            "7.0.7-24",
            "7.0.7-23",
            "7.0.7-22",
            "7.0.7-21",
            "7.0.7-20",
            "7.0.7-19",
            "7.0.7-18",
            "7.0.7-17",
            "7.0.7-16",
            "7.0.7-15",
            "7.0.7-14",
            "7.0.7-13",
            "7.0.7-12",
            "7.0.7-11",
            "7.0.7-10",
            "7.0.7-9",
            "7.0.7-8",
            "7.0.7.7",
            "7.0.7-6",
            "7.0.7-5",
            "7.0.7-4",
            "7.0.7-3",
            "7.0.7-2",
            "7.0.7-1",
            "7.0.7-0",
            "7.0.6-9",
            "7.0.6-8",
            "7.0.6-7",
            "7.0.6-6",
            "7.0.6-5",
            "7.0.6-4",
            "7.0.6-3",
            "7.0.6-2",
            "7.0.6-1",
            "7.0.6-0",
            "7.0.5-10",
            "7.0.5-9",
            "7.0.5-8",
            "7.0.5-7",
            "7.0.5-6",
            "7.0.5-5",
            "7.0.5-4",
            "7.0.5-3",
            "7.0.5-2",
            "7.0.5-1",
            "7.0.5-0",
            "7.0.4-10",
            "7.0.4-9",
            "7.0.4-8",
            "7.0.4-7",
            "7.0.4-6",
            "7.0.4-5",
            "7.0.4-4",
            "7.0.4-3",
            "7.0.4-2",
            "7.0.4-1",
            "7.0.4-0",
            "7.0.3-10",
            "7.0.3-9",
            "7.0.3-8",
            "7.0.3-7",
            "7.0.3-6",
            "7.0.3-5",
            "7.0.3-4",
            "7.0.3-3",
            "7.0.3-2",
            "7.0.3-1",
            "7.0.3-0",
            "7.0.2-10",
            "7.0.2-9",
            "7.0.2-8",
            "7.0.2-7",
            "7.0.2-6",
            "7.0.2-5",
            "7.0.2-4",
            "7.0.2-3",
            "7.0.2-2",
            "7.0.2-1",
            "7.0.2-0",
            "7.0.1-10",
            "7.0.1-9",
            "7.0.1-8",
            "7.0.1-7",
            "7.0.1-6",
            "7.0.1-5",
            "7.0.1-4",
            "7.0.1-3",
            "7.0.1-2",
            "7.0.1-1",
            "7.0.1-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3610.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-3610-4c433240",
                "digest": {
                  "length": 23289,
                  "function_hash": "337692096874583007095303878942000250678"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3",
                "target": {
                  "file": "coders/tiff.c",
                  "function": "ReadTIFFImage"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-3610-e3c98882",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "265167300434101916127528498929986453372",
                    "20286381383144019747206299777507796346",
                    "297416818085744149494297659001106252363",
                    "33010110597554517715084524578468146146"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3",
                "target": {
                  "file": "coders/tiff.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:25:15Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick6",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1dfaf1ece080421d8fe84039affc159c2ea76da4"
                },
                {
                  "fixed": "7f8bf2fe0325f577ab518fda227d068237065ac6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.9.10.88"
                      },
                      {
                        "fixed": "6.9.12-14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.9.12-12",
            "6.9.12-11",
            "6.9.12-10",
            "6.9.12-9",
            "6.9.12-8",
            "6.9.12-7",
            "6.9.12-6",
            "6.9.12-5",
            "6.9.12-4",
            "6.9.12-3",
            "6.9.12-2",
            "6.9.12-1",
            "6.9.12-0",
            "6.9.11-62",
            "6.9.11-61",
            "6.9.11-60",
            "6.9.11-59",
            "6.9.11-57",
            "6.9.11-56",
            "6.9.11-55",
            "6.9.11-54",
            "6.9.11-53",
            "6.9.11-52",
            "6.9.11-51",
            "6.9.11-50",
            "6.9.11-49",
            "6.9.11-48",
            "6.9.11-47",
            "6.9.11-46",
            "6.9.11-45",
            "6.9.11-44",
            "6.9.11-43",
            "6.9.11-42",
            "6.9.11-41",
            "6.9.11-40",
            "6.9.11-39",
            "6.9.11-38",
            "6.9.11-37",
            "6.9.11-36",
            "6.9.11-35",
            "6.9.11-34",
            "6.9.11-33",
            "6.9.11-32",
            "6.9.11-31",
            "6.9.11-30",
            "6.9.11-29",
            "6.9.11-28",
            "6.9.11-27",
            "6.9.11-26",
            "6.9.11-25",
            "6.9.11-24",
            "6.9.11-23",
            "6.9.11-22",
            "6.9.11-21",
            "6.9.11-20",
            "6.9.11-19",
            "6.9.11-18",
            "6.9.11-17",
            "6.9.11-16",
            "6.9.11-15",
            "6.9.11-14",
            "6.9.11-13",
            "6.9.11-12",
            "6.9.11-11",
            "6.9.11-10",
            "6.9.11-9",
            "6.9.11-8",
            "6.9.11-7",
            "6.9.11-6",
            "6.9.11-5",
            "6.9.11-4",
            "6.9.11-3",
            "6.9.11-2",
            "6.9.11-1",
            "6.9.11-0",
            "6.9.10-97",
            "6.9.10-96",
            "6.9.10-95",
            "6.9.10-94",
            "6.9.10-93",
            "6.9.10-92",
            "6.9.10-91",
            "6.9.10-90",
            "6.9.10-89",
            "6.9.10-88"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3610.json"
          }
        }
      ],
      "modified": "2026-10-24T14:25:15.035529821Z",
      "provider": "osv",
      "references": [
        "https://github.com/fuzzing2026/CVE-PoCs/tree/main/imagemagick-CVE-2021-3610",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1973689",
        "https://github.com/ImageMagick/ImageMagick/commit/930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.9.10.88"
                  },
                  {
                    "fixed": "6.9.12-14"
                  },
                  {
                    "introduced": "7.0.0-0"
                  },
                  {
                    "fixed": "7.0.11-14"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3610",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443744,
  "published_at": "2022-02-24T19:15:09.213+00:00"
}