Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-14057

In FFmpeg 3.3.3, a DoS in asf_read_marker() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted ASF file, which claims a large "name_len" or "count" field in the header but does not contain sufficient backing data, is provided, the loops over the name and markers would consume huge CPU and memory resources, since there is no EOF check inside these loops.

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

Source evidence

CVE-2017-14057

core-osv · Original source

Published 31 Aug 2017, 15:29 UTC

In FFmpeg 3.3.3, a DoS in asf_read_marker() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted ASF file, which claims a large "name_len" or "count" field in the header but does not contain sufficient backing data, is provided, the loops over the name and markers would consume huge CPU and memory resources, since there is no EOF check inside these loops.

osv:CVE-2017-14057
Complete source record
{
  "id": "a5aae9d108718f131ed4ed0fb50341e22d2870c7e410fbd6eca2a0c938c0e236",
  "url": "https://osv.dev/vulnerability/CVE-2017-14057",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-14057",
    "summary": "In FFmpeg 3.3.3, a DoS in asf_read_marker() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted ASF file, which claims a large \"name_len\" or \"count\" field in the header but does not contain sufficient backing data, is provided, the loops over the name and markers would consume huge CPU and memory resources, since there is no EOF check inside these loops.",
    "evidence": "osv:CVE-2017-14057",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-14057",
      "aliases": [
        "CVE-2017-14057"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/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": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "last_affected": "9079c70d2095643af6954001d0627445650b85a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:3.3.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.3"
                      },
                      {
                        "last_affected": "3.3.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.3",
            "n3.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14057.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "last_affected": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "fixed": "7f9ec5593e04827249e7aeb466da06a98a0d7329"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:3.3.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.3"
                      },
                      {
                        "last_affected": "3.3.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7f9ec5593e04827249e7aeb466da06a98a0d7329"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.3",
            "n3.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14057.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-14057-1826b2b6",
                "digest": {
                  "length": 779,
                  "function_hash": "169901190286884033327212406021590328092"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/7f9ec5593e04827249e7aeb466da06a98a0d7329",
                "target": {
                  "file": "libavformat/asfdec_f.c",
                  "function": "asf_read_marker"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14057-7ff161c7",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "45280465249222326559726298859871910548",
                    "308856040680522396771360482945763284468",
                    "159637411387494608464735976584012304265",
                    "209775875991948284366196265183641909006",
                    "217772450547932696874112712527342943829",
                    "110189071416408795333413348054046842345",
                    "53305542958332890112281740740288880917",
                    "334978062895334982376056599558991862150"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/7f9ec5593e04827249e7aeb466da06a98a0d7329",
                "target": {
                  "file": "libavformat/asfdec_f.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:09:14Z"
          }
        }
      ],
      "modified": "2026-10-24T14:09:14.760865780Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/01/msg00006.html",
        "https://github.com/FFmpeg/FFmpeg/commit/7f9ec5593e04827249e7aeb466da06a98a0d7329"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-14057",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443183,
  "published_at": "2017-08-31T15:29:00.42+00:00"
}