Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-7557

The decode_init function in libavcodec/utvideodec.c in FFmpeg 2.8 through 3.4.2 allows remote attackers to cause a denial of service (Out of array read) via an AVI file with crafted dimensions within chroma subsampling data.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7557
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:23 UTC · Revision 1

Source evidence

CVE-2018-7557

core-osv · Original source

Published 28 Feb 2018, 07:29 UTC

The decode_init function in libavcodec/utvideodec.c in FFmpeg 2.8 through 3.4.2 allows remote attackers to cause a denial of service (Out of array read) via an AVI file with crafted dimensions within chroma subsampling data.

osv:CVE-2018-7557
Complete source record
{
  "id": "51fa31b1efef18c192ae465a964b3fa446ba1893753b0a74977d9272e1236c28",
  "url": "https://osv.dev/vulnerability/CVE-2018-7557",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7557",
    "summary": "The decode_init function in libavcodec/utvideodec.c in FFmpeg 2.8 through 3.4.2 allows remote attackers to cause a denial of service (Out of array read) via an AVI file with crafted dimensions within chroma subsampling data.",
    "evidence": "osv:CVE-2018-7557",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-7557",
      "aliases": [
        "CVE-2018-7557"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.ffmpeg.org/ffmpeg.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "58142a27ea96bf9246586a91a82db85e37646933"
                },
                {
                  "last_affected": "6a97ba521558ce131fe839eed2d51ff745280e1d"
                },
                {
                  "fixed": "7414d0bda7763f9bd69c26c068e482ab297c1c96"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8"
                      },
                      {
                        "last_affected": "3.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7414d0bda7763f9bd69c26c068e482ab297c1c96"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n3.4.2",
            "n3.4.1",
            "n3.4",
            "n3.5-dev",
            "n3.4-dev",
            "n3.3-dev",
            "n3.2-dev",
            "n3.1-dev",
            "n2.9-dev",
            "n2.8-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7557.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-7557-09358d33",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "214294340827385027346326899809308912278",
                    "319967151764465081227513198959321650619",
                    "160860407430123656188533758835378100984",
                    "88426036291747426103396839917112951526",
                    "322060800242239300558022628811003160243",
                    "264994763499980366517533028970536454039",
                    "15401177006481919119583342312789940116",
                    "218511901579334236097636589891628169652",
                    "54072751883247017626672728946603888412",
                    "334816836273630641830478390641941193451"
                  ]
                },
                "source": "https://git.ffmpeg.org/ffmpeg.git@7414d0bda7763f9bd69c26c068e482ab297c1c96",
                "target": {
                  "file": "libavcodec/utvideodec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-7557-924bac71",
                "digest": {
                  "length": 4482,
                  "function_hash": "50909752490920241215824309361052532218"
                },
                "source": "https://git.ffmpeg.org/ffmpeg.git@7414d0bda7763f9bd69c26c068e482ab297c1c96",
                "target": {
                  "file": "libavcodec/utvideodec.c",
                  "function": "decode_init"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:20:19Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "58142a27ea96bf9246586a91a82db85e37646933"
                },
                {
                  "last_affected": "6a97ba521558ce131fe839eed2d51ff745280e1d"
                },
                {
                  "fixed": "e724bd1dd9efea3abb8586d6644ec07694afceae"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8"
                      },
                      {
                        "last_affected": "3.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e724bd1dd9efea3abb8586d6644ec07694afceae"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n2.8.14",
            "n3.4.2",
            "n2.8.13",
            "n3.4.1",
            "n3.4",
            "n2.8.12",
            "n3.4-dev",
            "n2.8.11",
            "n2.8.10",
            "n2.8.9",
            "n3.3-dev",
            "n2.8.8",
            "n2.8.7",
            "n3.2-dev",
            "n3.1-dev",
            "n2.8.6",
            "n2.8.5",
            "n2.8.4",
            "n2.8.3",
            "n2.8.2",
            "n2.8.1",
            "n2.8",
            "n2.9-dev",
            "n2.8-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7557.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-7557-c58f81bb",
                "digest": {
                  "length": 2014,
                  "function_hash": "261170408201920726981716170408581999831"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e724bd1dd9efea3abb8586d6644ec07694afceae",
                "target": {
                  "file": "libavcodec/utvideodec.c",
                  "function": "decode_init"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-7557-e1a439bc",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "214294340827385027346326899809308912278",
                    "319967151764465081227513198959321650619",
                    "160860407430123656188533758835378100984",
                    "88426036291747426103396839917112951526",
                    "322060800242239300558022628811003160243",
                    "294584906807958280719769276673771155382",
                    "173453050150287002342984267387285969060",
                    "28682244462948592149093618534071984159",
                    "105041463035589690360197019114153569694",
                    "112286002592890528022285994238400706647"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e724bd1dd9efea3abb8586d6644ec07694afceae",
                "target": {
                  "file": "libavcodec/utvideodec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:20:19Z"
          }
        }
      ],
      "modified": "2026-10-24T14:20:19.741210398Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/01/msg00006.html",
        "https://security.gentoo.org/glsa/202003-65",
        "https://www.debian.org/security/2018/dsa-4249",
        "https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/7414d0bda7763f9bd69c26c068e482ab297c1c96",
        "https://github.com/FFmpeg/FFmpeg/commit/e724bd1dd9efea3abb8586d6644ec07694afceae"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-7557",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443526,
  "published_at": "2018-02-28T07:29:00.463+00:00"
}