Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-14059

In FFmpeg 3.3.3, a DoS in cine_read_header() due to lack of an EOF check might cause huge CPU and memory consumption. When a crafted CINE file, which claims a large "duration" field in the header but does not contain sufficient backing data, is provided, the image-offset parsing 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-14059
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:08 UTC · Revision 1

Source evidence

CVE-2017-14059

core-osv · Original source

Published 31 Aug 2017, 15:29 UTC

In FFmpeg 3.3.3, a DoS in cine_read_header() due to lack of an EOF check might cause huge CPU and memory consumption. When a crafted CINE file, which claims a large "duration" field in the header but does not contain sufficient backing data, is provided, the image-offset parsing loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.

osv:CVE-2017-14059
Complete source record
{
  "id": "6fea808e577eb72f03d6c2cf886c57b172808e23eaf63a22f287788d8f9d009c",
  "url": "https://osv.dev/vulnerability/CVE-2017-14059",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-14059",
    "summary": "In FFmpeg 3.3.3, a DoS in cine_read_header() due to lack of an EOF check might cause huge CPU and memory consumption. When a crafted CINE file, which claims a large \"duration\" field in the header but does not contain sufficient backing data, is provided, the image-offset parsing loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.",
    "evidence": "osv:CVE-2017-14059",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-14059",
      "aliases": [
        "CVE-2017-14059"
      ],
      "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-14059.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "last_affected": "9079c70d2095643af6954001d0627445650b85a6"
                },
                {
                  "fixed": "7e80b63ecd259d69d383623e75b318bf2bd491f6"
                }
              ],
              "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": "7e80b63ecd259d69d383623e75b318bf2bd491f6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.3",
            "n3.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14059.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-14059-5847fc3a",
                "digest": {
                  "length": 4976,
                  "function_hash": "324241049478658231791347694847453150582"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/7e80b63ecd259d69d383623e75b318bf2bd491f6",
                "target": {
                  "file": "libavformat/cinedec.c",
                  "function": "cine_read_header"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14059-8414b9d6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "305296804302078399722126839551152068198",
                    "106274278606077000144940501038737739662",
                    "233256932812462212533303316476378042749",
                    "274708204534380055578403856655644778121",
                    "87743801244886013580109933991926564199"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/7e80b63ecd259d69d383623e75b318bf2bd491f6",
                "target": {
                  "file": "libavformat/cinedec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:09:12Z"
          }
        }
      ],
      "modified": "2026-10-24T14:09:12.830440780Z",
      "provider": "osv",
      "references": [
        "https://github.com/FFmpeg/FFmpeg/commit/7e80b63ecd259d69d383623e75b318bf2bd491f6"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-14059",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443179,
  "published_at": "2017-08-31T15:29:00.483+00:00"
}