{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.22.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0c81a846b7401dbdb7118afd0761057f21e43511"
            }
          ],
          "repo": "https://github.com/strukturag/libheif",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-j9g7-q9hv-gq8c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32739.json"
  },
  "details": "libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 800-byte HEIF sequence file causes an infinite loop in Box_stts::get_sample_duration(), consuming 100% CPU indefinitely with zero progress, leading to DoS. The loop has no iteration limit or timeout and is triggered during file open (parsing) - before any user interaction or image decoding. The process stays alive (no crash, no error logged), making it invisible to crash-based monitoring. This issue has been fixed in version 1.22.0.",
  "id": "CVE-2026-32739",
  "modified": "2026-07-15T01:49:10.220637946Z",
  "published": "2026-05-19T19:10:03.585Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/strukturag/libheif/releases/tag/v1.22.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32739.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32739"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libheif is Vulnerable to Infinite Loop DoS via stts Sample Duration Lookup"
}