Skip to content
Heist/ feed
Back to feed
MediumFix available

tiff — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-5784

In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.

Products
tiff
Affected versions
Not specified
Fixed versions
4.0.9-4
CVEs
CVE-2018-5784
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:30 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-5784

core-osv · Original source

Published 19 Jan 2018, 08:29 UTC

In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.

osv:DEBIAN-CVE-2018-5784

tiff

Fixed versions: 4.0.9-4

tiff

Fixed versions: 4.0.9-4

tiff

Fixed versions: 4.0.9-4

Complete source record
{
  "id": "a9a0d9b619a5426bc24ce9e05a91fbf3c1fa1cfeeca087c0434f4618ffe6b6aa",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-5784",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-5784",
    "summary": "In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.",
    "evidence": "osv:DEBIAN-CVE-2018-5784",
    "products": [
      {
        "name": {
          "value": "tiff",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.0.9-4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "tiff",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.0.9-4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "tiff",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.0.9-4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2018-5784",
      "aliases": [
        "DEBIAN-CVE-2018-5784"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.0.9-4"
                }
              ]
            }
          ],
          "package": {
            "name": "tiff",
            "purl": "pkg:deb/debian/tiff?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-5784.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.0.9-4"
                }
              ]
            }
          ],
          "package": {
            "name": "tiff",
            "purl": "pkg:deb/debian/tiff?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-5784.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.0.9-4"
                }
              ]
            }
          ],
          "package": {
            "name": "tiff",
            "purl": "pkg:deb/debian/tiff?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-5784.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:22.022544662Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-5784"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-5784"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-5784",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421284,
  "published_at": "2018-01-19T08:29:00.32+00:00"
}