Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-17081

The gmc_mmx function in libavcodec/x86/mpegvideodsp.c in FFmpeg 2.3 and 3.4 does not properly validate widths and heights, which allows remote attackers to cause a denial of service (integer signedness error and out-of-array read) via a crafted MPEG file.

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

Source evidence

CVE-2017-17081

core-osv · Original source

Published 30 Nov 2017, 21:29 UTC

The gmc_mmx function in libavcodec/x86/mpegvideodsp.c in FFmpeg 2.3 and 3.4 does not properly validate widths and heights, which allows remote attackers to cause a denial of service (integer signedness error and out-of-array read) via a crafted MPEG file.

osv:CVE-2017-17081
Complete source record
{
  "id": "6128b5d19d15ce8398bad64c3fe7e713b7b1976fb71e6041b2a3e5c26c6e5d36",
  "url": "https://osv.dev/vulnerability/CVE-2017-17081",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-17081",
    "summary": "The gmc_mmx function in libavcodec/x86/mpegvideodsp.c in FFmpeg 2.3 and 3.4 does not properly validate widths and heights, which allows remote attackers to cause a denial of service (integer signedness error and out-of-array read) via a crafted MPEG file.",
    "evidence": "osv:CVE-2017-17081",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-17081",
      "aliases": [
        "CVE-2017-17081"
      ],
      "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": "22b0daa1b3f0ac5d91cc1a057d230995590847cd"
                },
                {
                  "last_affected": "22b0daa1b3f0ac5d91cc1a057d230995590847cd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:3.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.4"
                      },
                      {
                        "last_affected": "3.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4",
            "n3.4-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "22b0daa1b3f0ac5d91cc1a057d230995590847cd"
                },
                {
                  "last_affected": "22b0daa1b3f0ac5d91cc1a057d230995590847cd"
                },
                {
                  "fixed": "27f8d386829689c346ff0cef00d3af57b9fb8903"
                },
                {
                  "fixed": "58cf31cee7a456057f337b3102a03206d833d5e8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:3.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.4"
                      },
                      {
                        "last_affected": "3.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "27f8d386829689c346ff0cef00d3af57b9fb8903"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "58cf31cee7a456057f337b3102a03206d833d5e8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4",
            "n3.4-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-17081-1c8014d9",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "99497488655434298647149463799167973397",
                    "139953449297124945114340788739349000224",
                    "48342063533814020514514237702143492153",
                    "62296206643640862599570083544025886110",
                    "66039701322916065952347494566869563446"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903",
                "target": {
                  "file": "libavcodec/x86/mpegvideodsp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-17081-207cbed6",
                "digest": {
                  "length": 4178,
                  "function_hash": "121043539817440664565750123988210661973"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903",
                "target": {
                  "file": "libavcodec/x86/mpegvideodsp.c",
                  "function": "gmc_mmx"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-17081-432d4ca8",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "99497488655434298647149463799167973397",
                    "139953449297124945114340788739349000224",
                    "48342063533814020514514237702143492153",
                    "62296206643640862599570083544025886110",
                    "66039701322916065952347494566869563446"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8",
                "target": {
                  "file": "libavcodec/x86/mpegvideodsp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-17081-54e217cb",
                "digest": {
                  "length": 4178,
                  "function_hash": "121043539817440664565750123988210661973"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8",
                "target": {
                  "file": "libavcodec/x86/mpegvideodsp.c",
                  "function": "gmc_mmx"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:03:18Z"
          }
        }
      ],
      "modified": "2026-10-24T14:03:18.757359553Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2018/dsa-4099",
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3516#c1",
        "https://github.com/FFmpeg/FFmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903",
        "https://github.com/FFmpeg/FFmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8",
        "https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2017-November/219748.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-17081",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442783,
  "published_at": "2017-11-30T21:29:00.297+00:00"
}