Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-14170

In libavformat/mxfdec.c in FFmpeg 3.3.3 -> 2.4, a DoS in mxf_read_index_entry_array() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted MXF file, which claims a large "nb_index_entries" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU resources, since there is no EOF check inside the loop. Moreover, this big loop can be invoked multiple times if there is more than one applicable data segment in the crafted MXF file.

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

Source evidence

CVE-2017-14170

core-osv · Original source

Published 7 Sept 2017, 06:29 UTC

In libavformat/mxfdec.c in FFmpeg 3.3.3 -> 2.4, a DoS in mxf_read_index_entry_array() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted MXF file, which claims a large "nb_index_entries" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU resources, since there is no EOF check inside the loop. Moreover, this big loop can be invoked multiple times if there is more than one applicable data segment in the crafted MXF file.

osv:CVE-2017-14170
Complete source record
{
  "id": "372ab6f6fb71e3fdbf70529bc88096fd248440d14895d5bceaf6069401a3607f",
  "url": "https://osv.dev/vulnerability/CVE-2017-14170",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-14170",
    "summary": "In libavformat/mxfdec.c in FFmpeg 3.3.3 -> 2.4, a DoS in mxf_read_index_entry_array() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted MXF file, which claims a large \"nb_index_entries\" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU resources, since there is no EOF check inside the loop. Moreover, this big loop can be invoked multiple times if there is more than one applicable data segment in the crafted MXF file.",
    "evidence": "osv:CVE-2017-14170",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-14170",
      "aliases": [
        "CVE-2017-14170"
      ],
      "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-14170.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "last_affected": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "fixed": "900f39692ca0337a98a7cf047e4e2611071810c2"
                },
                {
                  "fixed": "f173cdfe669556aa92857adafe60cbe5f2aa1210"
                }
              ],
              "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": "900f39692ca0337a98a7cf047e4e2611071810c2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f173cdfe669556aa92857adafe60cbe5f2aa1210"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.3",
            "n3.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14170.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-14170-402f6c8d",
                "digest": {
                  "length": 859,
                  "function_hash": "7350275477220121909179389923599280712"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210",
                "target": {
                  "file": "libavformat/mxfdec.c",
                  "function": "mxf_read_index_entry_array"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14170-6acf6e83",
                "digest": {
                  "length": 952,
                  "function_hash": "156836032280374510452835169681765921076"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2",
                "target": {
                  "file": "libavformat/mxfdec.c",
                  "function": "mxf_read_index_entry_array"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14170-84f8077f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "306447737840415232004597201826736368124",
                    "126996753266323376184933011454295211259",
                    "255825946303932223054138375241430705080",
                    "302315235321539513036531029877255123150",
                    "101333621089334800209449894233315020167",
                    "24011609171819150529542193019128301368",
                    "164457422022711662989096906510131072276",
                    "230785548486680002557736998808488608342"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210",
                "target": {
                  "file": "libavformat/mxfdec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14170-effeca0e",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "306447737840415232004597201826736368124",
                    "126996753266323376184933011454295211259",
                    "255825946303932223054138375241430705080",
                    "6987597824515003265516096991385634914",
                    "232128033444275761819789608406448936451",
                    "63962582659685061407823855668702644844",
                    "147794275574851851876074214455005715057",
                    "230785548486680002557736998808488608342"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2",
                "target": {
                  "file": "libavformat/mxfdec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:19:44Z"
          }
        }
      ],
      "modified": "2026-10-24T14:19:44.850286202Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/01/msg00006.html",
        "https://github.com/FFmpeg/FFmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2",
        "https://github.com/FFmpeg/FFmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-14170",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443476,
  "published_at": "2017-09-07T06:29:00.267+00:00"
}