Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-2058

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit f3a5e010.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-2058
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:35 UTC · Revision 1

Source evidence

CVE-2022-2058

core-osv · Original source

Published 30 Jun 2022, 00:00 UTC

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit f3a5e010.

osv:CVE-2022-2058
Complete source record
{
  "id": "fbaea16bb07fedadb7dcfb2fc58a91ee49eddfd0e60682b10517322c99a6c366",
  "url": "https://osv.dev/vulnerability/CVE-2022-2058",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-2058",
    "summary": "Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit f3a5e010.",
    "evidence": "osv:CVE-2022-2058",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-2058",
      "aliases": [
        "CVE-2022-2058"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/libtiff/libtiff",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b6a17e567f143fab49734a9e09e5bafeb6f97354"
                },
                {
                  "last_affected": "b6a17e567f143fab49734a9e09e5bafeb6f97354"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "=4.4.0"
                      },
                      {
                        "last_affected": "=4.4.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:libtiff:libtiff:4.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.4.0"
                      },
                      {
                        "last_affected": "4.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.4.0",
            "=4.4.0",
            "v4.4.0rc1",
            "v4.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2058.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.938558577Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2058.json",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2058.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TSS7MJ7OO7JO5BNKCRYSFU7UAYOKLA2/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OXUMJXVEAYFWRO3U3YHKSULHIVDOLEQS/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2058",
        "https://security.netapp.com/advisory/ntap-20220826-0001/",
        "https://www.debian.org/security/2023/dsa-5333",
        "https://gitlab.com/libtiff/libtiff/-/issues/428",
        "https://gitlab.com/libtiff/libtiff/-/merge_requests/346",
        "https://lists.debian.org/debian-lts-announce/2023/01/msg00018.html"
      ],
      "provider_metadata": {
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2058.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2058",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490609,
  "published_at": "2022-06-30T00:00:00+00:00"
}