{
  "id": "ghsa-74mj-m37q-h3q9",
  "title": "Quadratic stsc lookup can cause denial of service during HEIF open",
  "product": "libheif",
  "ai_system": "Anthropic OSS Scanner (model not specified for this finding)",
  "organization": "Anthropic and libheif maintainers",
  "summary": "Opening a file with a moov box used a linear search of stsc entries for every chunk, yielding quadratic work and seconds-to-minutes CPU use on files with many chunks. This issue was also independently reported as GHSA-xf84-wgwm-8vhx; the advisory explicitly says Anthropic OSS Scanner independently discovered the same issue.",
  "ai_role": "The item-level libheif advisory explicitly attributes discovery to Anthropic's OSS Scanner as ANT-2026-ZNJZAJWY. The release notes independently state that all listed security issues were found by the scanner. The Anthropic program sources establish model-based scanning, but no per-case model is identified.",
  "disclosure_date": "2026-10-26",
  "ai_attribution_date": "2026-10-26",
  "classification": "disclosure",
  "classification_note": "The primary advisory establishes a publicly disclosed security finding and direct Anthropic OSS Scanner attribution. No CVE had been assigned in the libheif release notes at the checked time; the distinct GHSA is used. No exploitation or zero-day status is asserted.",
  "cves": [],
  "source_url": "https://github.com/strukturag/libheif/security/advisories/GHSA-74mj-m37q-h3q9",
  "ai_source_url": "https://github.com/strukturag/libheif/security/advisories/GHSA-74mj-m37q-h3q9",
  "remediation": "fix documented",
  "remediation_note": "The lookup is now a binary search and malformed decreasing first_chunk values are rejected; fixed in libheif 1.23.7. The advisory also discloses OpenAI Codex assistance with the human reporter’s review and drafting; Anthropic discovery attribution is separately explicit. The libheif v1.23.7 security release is dated 2026-10-26; deployed patch status is not checked.",
  "advisory_url": "https://github.com/strukturag/libheif/security/advisories/GHSA-74mj-m37q-h3q9",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "denial of service"
      ],
      "conditions": "A crafted file can cause excessive CPU work during opening; concurrent requests can exhaust the media worker pool. Applies when untrusted inputs are processed by affected libheif usage.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://github.com/strukturag/libheif/security/advisories/GHSA-74mj-m37q-h3q9",
      "checked_date": "2026-11-16"
    }
  ]
}
