Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-13300

In FFmpeg 3.2 and 4.0.1, an improper argument (AVCodecParameters) passed to the avpriv_request_sample function in the handle_eac3 function in libavformat/movenc.c may trigger an out-of-array read while converting a crafted AVI file to MPEG4, leading to a denial of service and possibly an information disclosure.

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

Source evidence

CVE-2018-13300

core-osv · Original source

Published 5 Jul 2018, 17:29 UTC

In FFmpeg 3.2 and 4.0.1, an improper argument (AVCodecParameters) passed to the avpriv_request_sample function in the handle_eac3 function in libavformat/movenc.c may trigger an out-of-array read while converting a crafted AVI file to MPEG4, leading to a denial of service and possibly an information disclosure.

osv:CVE-2018-13300
Complete source record
{
  "id": "064b7d2413c9dcaf97e590b5ce5965a03655042c2ccbb1c437d7996c3ffa2135",
  "url": "https://osv.dev/vulnerability/CVE-2018-13300",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-13300",
    "summary": "In FFmpeg 3.2 and 4.0.1, an improper argument (AVCodecParameters) passed to the avpriv_request_sample function in the handle_eac3 function in libavformat/movenc.c may trigger an out-of-array read while converting a crafted AVI file to MPEG4, leading to a denial of service and possibly an information disclosure.",
    "evidence": "osv:CVE-2018-13300",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-13300",
      "aliases": [
        "CVE-2018-13300"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.ffmpeg.org/ffmpeg.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e049f7c24fc6aa5fc925f860e2ad940a75cfd84f"
                },
                {
                  "last_affected": "e049f7c24fc6aa5fc925f860e2ad940a75cfd84f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:4.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.1"
                      },
                      {
                        "last_affected": "4.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.1",
            "n4.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13300.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e049f7c24fc6aa5fc925f860e2ad940a75cfd84f"
                },
                {
                  "last_affected": "e049f7c24fc6aa5fc925f860e2ad940a75cfd84f"
                },
                {
                  "fixed": "95556e27e2c1d56d9e18f5db34d6f756f3011148"
                },
                {
                  "fixed": "e6d3fd942f772f54ab6a5ca619cdaadef26b7702"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:4.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.1"
                      },
                      {
                        "last_affected": "4.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "95556e27e2c1d56d9e18f5db34d6f756f3011148"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e6d3fd942f772f54ab6a5ca619cdaadef26b7702"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.1",
            "n4.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13300.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-13300-7019f0de",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "117866465038908747555431185891226408089",
                    "99836863050707807155297261144028839057",
                    "200469054942996357998795024000550793574",
                    "3215015680887294862152352069954288076"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/95556e27e2c1d56d9e18f5db34d6f756f3011148",
                "target": {
                  "file": "libavformat/movenc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-13300-b3d6baef",
                "digest": {
                  "length": 3352,
                  "function_hash": "209559010047689368178480925122595331258"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/95556e27e2c1d56d9e18f5db34d6f756f3011148",
                "target": {
                  "file": "libavformat/movenc.c",
                  "function": "handle_eac3"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-13300-f6ee3681",
                "digest": {
                  "length": 3157,
                  "function_hash": "197538538023259506621880526769256295611"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e6d3fd942f772f54ab6a5ca619cdaadef26b7702",
                "target": {
                  "file": "libavformat/movenc.c",
                  "function": "handle_eac3"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-13300-ff74cb0a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "292855469144843288761289850797484581177",
                    "19871434753391898634504264980582914334",
                    "56985957617490121393762888563903618538",
                    "74301527327112639821960211212114705884"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e6d3fd942f772f54ab6a5ca619cdaadef26b7702",
                "target": {
                  "file": "libavformat/movenc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:21:18Z"
          }
        }
      ],
      "modified": "2026-10-24T14:21:18.758402648Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2018/dsa-4249",
        "https://github.com/FFmpeg/FFmpeg/commit/95556e27e2c1d56d9e18f5db34d6f756f3011148",
        "https://github.com/FFmpeg/FFmpeg/commit/e6d3fd942f772f54ab6a5ca619cdaadef26b7702"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-13300",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443626,
  "published_at": "2018-07-05T17:29:00.313+00:00"
}