CVE-2017-14054

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-14054
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14054.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-14054
Downstream
Related
Published
2017-08-31T15:29:00Z
Modified
2025-10-14T16:07:05.921771Z
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

In libavformat/rmdec.c in FFmpeg 3.3.3, a DoS in ivrreadheader() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted IVR file, which claims a large "len" field in the header but does not contain sufficient backing data, is provided, the first type==4 loop would consume huge CPU resources, since there is no EOF check inside the loop.

References

Affected packages

Git / git.ffmpeg.org/ffmpeg.git

Affected ranges

Type
GIT
Repo
https://git.ffmpeg.org/ffmpeg.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

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

Database specific

{
    "vanir_signatures": [
        {
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "libavformat/rmdec.c"
            },
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "234032054447535025478726622637781525984",
                    "123352030564568524941742042316477844946",
                    "117292502487100815111164887830115694020",
                    "167331368778348808159532095529755586265",
                    "213900236681013805180364471646869887864"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2017-14054-0fa15e86",
            "source": "https://github.com/ffmpeg/ffmpeg/commit/124eb202e70678539544f6268efc98131f19fa49"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "libavformat/rmdec.c",
                "function": "ivr_read_header"
            },
            "signature_version": "v1",
            "digest": {
                "length": 3843.0,
                "function_hash": "131383091143261345982428874803280954829"
            },
            "id": "CVE-2017-14054-afe9400b",
            "source": "https://github.com/ffmpeg/ffmpeg/commit/124eb202e70678539544f6268efc98131f19fa49"
        }
    ]
}