CVE-2018-13300

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-13300
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-13300.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-13300
Downstream
Related
Published
2018-07-05T17:29:00Z
Modified
2025-09-19T09:25:08.684579Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

In FFmpeg 3.2 and 4.0.1, an improper argument (AVCodecParameters) passed to the avprivrequestsample function in the handle_eac3 function in libavformat/movenc.c may trigger an out-of-array read while converting a crafted AVI file to MPEG4, leading to a denial of service and possibly an information disclosure.

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
Last affected
Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
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
n3.2-dev
n3.2.1
n3.2.10
n3.2.2
n3.2.3
n3.2.4
n3.2.5
n3.2.6
n3.2.7
n3.2.8
n3.2.9
n3.3-dev
n3.4-dev
n3.5-dev

n4.*

n4.0
n4.0.1
n4.1-dev

Database specific

{
    "vanir_signatures": [
        {
            "signature_type": "Line",
            "target": {
                "file": "libavformat/movenc.c"
            },
            "source": "https://github.com/ffmpeg/ffmpeg/commit/95556e27e2c1d56d9e18f5db34d6f756f3011148",
            "id": "CVE-2018-13300-7019f0de",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "117866465038908747555431185891226408089",
                    "99836863050707807155297261144028839057",
                    "200469054942996357998795024000550793574",
                    "3215015680887294862152352069954288076"
                ],
                "threshold": 0.9
            }
        },
        {
            "signature_type": "Function",
            "target": {
                "function": "handle_eac3",
                "file": "libavformat/movenc.c"
            },
            "source": "https://github.com/ffmpeg/ffmpeg/commit/95556e27e2c1d56d9e18f5db34d6f756f3011148",
            "id": "CVE-2018-13300-b3d6baef",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "function_hash": "209559010047689368178480925122595331258",
                "length": 3352.0
            }
        },
        {
            "signature_type": "Function",
            "target": {
                "function": "handle_eac3",
                "file": "libavformat/movenc.c"
            },
            "source": "https://github.com/ffmpeg/ffmpeg/commit/e6d3fd942f772f54ab6a5ca619cdaadef26b7702",
            "id": "CVE-2018-13300-f6ee3681",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "function_hash": "197538538023259506621880526769256295611",
                "length": 3157.0
            }
        },
        {
            "signature_type": "Line",
            "target": {
                "file": "libavformat/movenc.c"
            },
            "source": "https://github.com/ffmpeg/ffmpeg/commit/e6d3fd942f772f54ab6a5ca619cdaadef26b7702",
            "id": "CVE-2018-13300-ff74cb0a",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "292855469144843288761289850797484581177",
                    "19871434753391898634504264980582914334",
                    "56985957617490121393762888563903618538",
                    "74301527327112639821960211212114705884"
                ],
                "threshold": 0.9
            }
        }
    ]
}