{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "6.1.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "fixed": "7.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "7.1"
                  },
                  {
                    "fixed": "7.1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "fixed": "8.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "8.1"
                  },
                  {
                    "fixed": "8.1.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "fixed": "9.0.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "f1a000d41f3b5de2c305b5abb6e2718d070fedcc"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "9b7ca3b71d3e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "64f08760e20e4b48b5278f1cc1f8829f3c198f5c"
            },
            {
              "introduced": "083443d67cb159ce469e5d902346b8d0c2cd1c93"
            },
            {
              "fixed": "6b213175c90534e0ad1924bfeba2cf7e20db5bf2"
            },
            {
              "introduced": "6b213175c90534e0ad1924bfeba2cf7e20db5bf2"
            },
            {
              "fixed": "bfc1195a2bc9b3d88cd4d1fddfb23193a6ef08ee"
            },
            {
              "introduced": "140fd653aed8cad774f991ba083e2d01e86420c7"
            },
            {
              "fixed": "254f19d922331abe208bd4f0b7df0fb0d493fd4a"
            },
            {
              "introduced": "638b521c7b09e00514aa13ade43c389b4b40ddfd"
            },
            {
              "fixed": "b591b1fc0f69af869a2462963b96ef8aeeb456b6"
            },
            {
              "introduced": "d32b387f2b0a484599d4587d651891f0c63c4238"
            },
            {
              "fixed": "76c070aa057b590b75343e848f8b98b03c496572"
            },
            {
              "fixed": "f1a000d41f3b5de2c305b5abb6e2718d070fedcc"
            },
            {
              "fixed": "9b7ca3b71d3e"
            }
          ],
          "repo": "https://github.com/ffmpeg/ffmpeg",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Anthropic",
    "cwe_ids": [
      "CWE-672",
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145314.json"
  },
  "details": "A heap out-of-bounds write exists in the MPEG-1/2 video decoder (libavcodec/mpeg12dec.c) in FFmpeg before 6.1.7, 7.1.6, 8.0.4, 8.1.4, 9.0.3, and 9.1. When slice threading is enabled (the ffmpeg command-line default on multi-core hosts), a slice-decoding job queued while the decoder parses a codec's extradata is not flushed before the first packet is decoded, so it runs with mismatched field/frame picture geometry and writes inverse-DCT output -- with byte values controlled by the input -- past the end of the allocated luma and chroma planes. Processing a crafted MPEG-1/2 file (e.g. in an AVI, Matroska, or MP4 container) therefore corrupts heap memory.",
  "id": "CVE-2026-145314",
  "modified": "2026-12-04T20:45:34.968100194Z",
  "published": "2026-12-04T19:04:56.760Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ffmpeg.org/security.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145314.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/FFmpeg/FFmpeg"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FFmpeg/FFmpeg/commit/9b7ca3b71d3e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FFmpeg/FFmpeg/commit/f1a000d41f3b5de2c305b5abb6e2718d070fedcc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145314"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ]
}