{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "8.0"
              },
              {
                "last_affected": "8.1.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "140fd653aed8cad774f991ba083e2d01e86420c7"
            },
            {
              "last_affected": "38b88335f99e76ed89ff3c93f877fdefce736c13"
            }
          ],
          "repo": "https://git.ffmpeg.org/ffmpeg.git",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "8.0"
              },
              {
                "last_affected": "8.1.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "140fd653aed8cad774f991ba083e2d01e86420c7"
            },
            {
              "last_affected": "38b88335f99e76ed89ff3c93f877fdefce736c13"
            }
          ],
          "repo": "https://github.com/ffmpeg/ffmpeg",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64831.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "8.0"
          },
          {
            "last_affected": "8.1.2"
          },
          {
            "introduced": "92737390dc133daadce47dd7d2ec8ef3d9ebcbed"
          },
          {
            "last_affected": "92737390dc133daadce47dd7d2ec8ef3d9ebcbed"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "8.0"
          },
          {
            "last_affected": "8.1.2"
          }
        ],
        "source": "CPE_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "8.0"
          },
          {
            "fixed": "8.1.2"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "FFmpeg versions 8.0 through 8.1.2 contains a stack buffer overflow vulnerability in the Vulkan HEVC hardware decoder that allows remote attackers to overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream. Attackers can embed a malicious vps_num_hrd_parameters value exceeding HEVC_MAX_SUB_LAYERS in any supported container format to overflow stack-allocated arrays in the vk_hevc_end_frame function, potentially achieving arbitrary code execution.",
  "id": "CVE-2026-64831",
  "modified": "2026-08-02T03:32:08.481676169Z",
  "published": "2026-07-22T16:35:43.775Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64831.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64831"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-vulkan-hevc-decoder"
    },
    {
      "type": "REPORT",
      "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665"
    },
    {
      "type": "FIX",
      "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FFmpeg 8.0 - 8.1.2 Stack Buffer Overflow in Vulkan HEVC Decoder"
}