CVE-2017-17081

Source
https://cve.org/CVERecord?id=CVE-2017-17081
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-17081
Downstream
Related
Published
2017-11-30T21:29:00.297Z
Modified
2026-03-10T14:22:59.677447Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ffmpeg/ffmpeg

Affected ranges

Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.4"
        }
    ]
}

Affected versions

Other
N
n0.*
n0.11-dev
n0.12-dev
n0.8
n1.*
n1.1-dev
n1.2-dev
n1.3-dev
n2.*
n2.0
n2.1-dev
n2.2-dev
n2.3-dev
n2.4-dev
n2.5-dev
n2.6-dev
n2.7-dev
n2.8-dev
n2.9-dev
n3.*
n3.1-dev
n3.2-dev
n3.3-dev
n3.4-dev
n3.5-dev

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2017-17081-1c8014d9",
        "target": {
            "file": "libavcodec/x86/mpegvideodsp.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "99497488655434298647149463799167973397",
                "139953449297124945114340788739349000224",
                "48342063533814020514514237702143492153",
                "62296206643640862599570083544025886110",
                "66039701322916065952347494566869563446"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2017-17081-207cbed6",
        "target": {
            "file": "libavcodec/x86/mpegvideodsp.c",
            "function": "gmc_mmx"
        },
        "digest": {
            "length": 4178.0,
            "function_hash": "121043539817440664565750123988210661973"
        },
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2017-17081-432d4ca8",
        "target": {
            "file": "libavcodec/x86/mpegvideodsp.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "99497488655434298647149463799167973397",
                "139953449297124945114340788739349000224",
                "48342063533814020514514237702143492153",
                "62296206643640862599570083544025886110",
                "66039701322916065952347494566869563446"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2017-17081-54e217cb",
        "target": {
            "file": "libavcodec/x86/mpegvideodsp.c",
            "function": "gmc_mmx"
        },
        "digest": {
            "length": 4178.0,
            "function_hash": "121043539817440664565750123988210661973"
        },
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17081.json"