{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.3"
                  },
                  {
                    "last_affected": "9.0.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "7c73707355708c846f718cca90096bc1a33c8989"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "3ec3f70ddb1b97fd6174ab3ca8617d8a1a6516ab"
            },
            {
              "fixed": "7c73707355708c846f718cca90096bc1a33c8989"
            }
          ],
          "repo": "https://github.com/ffmpeg/ffmpeg",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-908"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120247.json"
  },
  "details": "FFmpeg 2.3 through 9.0.2 contains a use of uninitialized resource vulnerability in the Huffyuv decoder that allows attackers to leak heap memory into decoded pixels via short packed-BGR bitstreams. Attackers can craft a Huffyuv BGR24/BGRA video whose entropy data ends early, causing decode_slice() to add uninitialized s-\u003etemp[0] bytes into output frames, exposing heap contents.",
  "id": "CVE-2026-120247",
  "modified": "2026-11-08T02:30:49.640577423Z",
  "published": "2026-11-01T00:57:12.137Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120247.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120247"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ffmpeg-2.3-through-9.0.2-huffyuv-decoder-uninitialized-heap-memory-disclosure"
    },
    {
      "type": "REPORT",
      "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24869"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FFmpeg/FFmpeg/commit/7c73707355708c846f718cca90096bc1a33c8989"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/FFmpeg/FFmpeg"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/huffyuvdec.c#L802"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FFmpeg 2.3 through 9.0.2 Huffyuv Decoder Uninitialized Heap Memory Disclosure"
}