Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-2520

A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-2520
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:05 UTC · Revision 1

Source evidence

CVE-2022-2520

core-osv · Original source

Published 31 Aug 2022, 00:00 UTC

A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input.

osv:CVE-2022-2520
Complete source record
{
  "id": "2ad7efbe1787087ddfc2ee4701f809863c42f51715159bffb1801dab51b75836",
  "url": "https://osv.dev/vulnerability/CVE-2022-2520",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-2520",
    "summary": "A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input.",
    "evidence": "osv:CVE-2022-2520",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-2520",
      "aliases": [
        "CVE-2022-2520"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/libtiff/libtiff",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b6a17e567f143fab49734a9e09e5bafeb6f97354"
                },
                {
                  "last_affected": "b6a17e567f143fab49734a9e09e5bafeb6f97354"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "libtiff 4.4.0rc1"
                      },
                      {
                        "last_affected": "libtiff 4.4.0rc1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:libtiff:libtiff:4.4.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.4.0-rc1"
                      },
                      {
                        "last_affected": "4.4.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.4.0-rc1",
            "libtiff 4.4.0rc1",
            "v4.4.0rc1",
            "v4.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2520.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.532347137Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2520.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2520",
        "https://www.debian.org/security/2023/dsa-5333",
        "https://gitlab.com/libtiff/libtiff/-/issues/424",
        "https://gitlab.com/libtiff/libtiff/-/merge_requests/378"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-131"
        ],
        "cna_assigner": "redhat",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2520.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2520",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 494372,
  "published_at": "2022-08-31T00:00:00+00:00"
}