{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:libraw:libraw:0.22.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:libraw:libraw:0.22.1:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0.22.0"
              },
              {
                "last_affected": "0.22.0"
              },
              {
                "introduced": "0.22.1"
              },
              {
                "last_affected": "0.22.1"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "0b56545a4f828743f28a4345cdfdd4c49f9f9a2a"
            },
            {
              "last_affected": "b860248a89d9082b8e0a1e202e516f46af9adb29"
            }
          ],
          "repo": "https://github.com/libraw/libraw",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.22.0",
        "0.22.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "talos",
    "cwe_ids": [
      "CWE-129"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21413.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "Commit 0b56545"
          },
          {
            "last_affected": "Commit 0b56545"
          },
          {
            "introduced": "Commit d20315b"
          },
          {
            "last_affected": "Commit d20315b"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545 and Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.",
  "id": "CVE-2026-21413",
  "modified": "2026-07-08T05:36:36.165317884Z",
  "published": "2026-04-07T13:49:29.784Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21413.json"
    },
    {
      "type": "WEB",
      "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2026-2331"
    },
    {
      "type": "WEB",
      "url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:11360"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13284"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13854"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13860"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13868"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13870"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:14224"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:14655"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:14673"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:19345"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-21413"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21413.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21413"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2455929"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}