CVE-2018-12459

Source
https://cve.org/CVERecord?id=CVE-2018-12459
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12459.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-12459
Downstream
Published
2018-06-15T15:29:00.280Z
Modified
2026-07-08T17:15:09.983340Z
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

An inconsistent bits-per-sample value in the ffmpeg4decodepictureheader function in libavcodec/mpeg4videodec.c in FFmpeg 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

References

Affected packages

Git / git.ffmpeg.org/ffmpeg.git

Affected ranges

Type
GIT
Repo
https://git.ffmpeg.org/ffmpeg.git
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:4.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0"
        },
        {
            "last_affected": "4.0"
        }
    ]
}

Affected versions

4.*
4.0
n4.*
n4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12459.json"

Git / github.com/ffmpeg/ffmpeg

Affected ranges

Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:4.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0"
        },
        {
            "last_affected": "4.0"
        }
    ]
}

Affected versions

4.*
4.0
n4.*
n4.0

Database specific

vanir_signatures_modified
"2026-07-08T17:15:09Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12459.json"
vanir_signatures
[
    {
        "id": "CVE-2018-12459-57d6d724",
        "digest": {
            "function_hash": "293953060746545110115995344497464201232",
            "length": 4722.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c",
        "deprecated": false,
        "target": {
            "function": "ff_mpeg4_decode_picture_header",
            "file": "libavcodec/mpeg4videodec.c"
        }
    },
    {
        "id": "CVE-2018-12459-bd8e4d38",
        "digest": {
            "line_hashes": [
                "276984771347048471388697408929656823427",
                "40868172712932210822047402219494391158",
                "108981795129314371954512303332135972338"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c",
        "deprecated": false,
        "target": {
            "file": "libavcodec/mpeg4videodec.c"
        }
    }
]