{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.22.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "cf02d66eb5c19d4e46df7aee0582e47a4918509a"
            }
          ],
          "repo": "https://github.com/libraw/libraw",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135177.json"
  },
  "details": "LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax_4shot_load_raw() that allows attackers to crash applications by scanning tiff_ifd[] beyond its 10 entries. Attackers can supply a crafted four-frame Pentax DNG with too few IFDs matching the raw dimensions to cause denial of service when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled.",
  "id": "CVE-2026-135177",
  "modified": "2026-11-23T15:46:08.134540413Z",
  "published": "2026-11-23T14:38:42.791Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135177.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/LibRaw/LibRaw"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/LibRaw/LibRaw/blob/0.22.3/src/decoders/decoders_libraw.cpp#L104-L114"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/LibRaw/LibRaw/issues/890"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135177"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libraw-through-0.22.3-out-of-bounds-read-via-pentax-4shot-load-raw"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LibRaw through 0.22.3 Out-of-Bounds Read via pentax_4shot_load_raw"
}