Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-14222

In libavformat/mov.c in FFmpeg 3.3.3, a DoS in read_tfra() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted MOV file, which claims a large "item_count" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.

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

Source evidence

CVE-2017-14222

core-osv · Original source

Published 9 Sept 2017, 01:29 UTC

In libavformat/mov.c in FFmpeg 3.3.3, a DoS in read_tfra() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted MOV file, which claims a large "item_count" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.

osv:CVE-2017-14222
Complete source record
{
  "id": "5a0dd25366664f0dd30b745a57c0f7942760ea3f4cdd809676fd4e3b116da187",
  "url": "https://osv.dev/vulnerability/CVE-2017-14222",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-14222",
    "summary": "In libavformat/mov.c in FFmpeg 3.3.3, a DoS in read_tfra() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted MOV file, which claims a large \"item_count\" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.",
    "evidence": "osv:CVE-2017-14222",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-14222",
      "aliases": [
        "CVE-2017-14222"
      ],
      "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-14222.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "last_affected": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "fixed": "9cb4eb772839c5e1de2855d126bf74ff16d13382"
                }
              ],
              "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": "9cb4eb772839c5e1de2855d126bf74ff16d13382"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.3",
            "n3.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14222.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-14222-0643c27b",
                "digest": {
                  "length": 1595,
                  "function_hash": "99633875861143448701591423030386300978"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/9cb4eb772839c5e1de2855d126bf74ff16d13382",
                "target": {
                  "file": "libavformat/mov.c",
                  "function": "read_tfra"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14222-18da0ac6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "101427916401913317076866338255985548763",
                    "190252647277208106076952828195463980573",
                    "281259153174135295323307354524828985407",
                    "151407830817122122880265535976400879219"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/9cb4eb772839c5e1de2855d126bf74ff16d13382",
                "target": {
                  "file": "libavformat/mov.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:19:44Z"
          }
        }
      ],
      "modified": "2026-10-24T14:19:44.461536121Z",
      "provider": "osv",
      "references": [
        "https://github.com/FFmpeg/FFmpeg/commit/9cb4eb772839c5e1de2855d126bf74ff16d13382"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-14222",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443474,
  "published_at": "2017-09-09T01:29:02.737+00:00"
}