CVE-2019-11338

Source
https://cve.org/CVERecord?id=CVE-2019-11338
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11338.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-11338
Downstream
Related
Published
2019-04-19T00:29:00.230Z
Modified
2026-07-26T05:54:03.100602Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

libavcodec/hevcdec.c in FFmpeg 3.4 and 4.1.2 mishandles detection of duplicate first slices, which allows remote attackers to cause a denial of service (NULL pointer dereference and out-of-array access) or possibly have unspecified other impact via crafted HEVC data.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                },
                {
                    "introduced": "18.10"
                },
                {
                    "last_affected": "18.10"
                },
                {
                    "introduced": "19.04"
                },
                {
                    "last_affected": "19.04"
                },
                {
                    "introduced": "20.04"
                },
                {
                    "last_affected": "20.04"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "canonical:ubuntu_linux",
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "3.4"
                },
                {
                    "last_affected": "3.4"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "ffmpeg:ffmpeg",
            "cpes": [
                "cpe:2.3:a:ffmpeg:ffmpeg:3.4:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "12"
                },
                {
                    "last_affected": "12"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "novell:suse_package_hub_for_suse_linux_enterprise",
            "cpes": [
                "cpe:2.3:a:novell:suse_package_hub_for_suse_linux_enterprise:12:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/ffmpeg/ffmpeg

Affected ranges

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

Affected versions

3.*
3.4
4.*
4.1.2
n3.*
n3.4
n3.4-dev
n3.4.1
n3.4.2
n3.4.3
n3.4.4
n3.4.5
n3.5-dev
n4.*
n4.1
n4.1-dev
n4.1.1
n4.1.2
n4.2-dev

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11338.json"
vanir_signatures_modified
"2026-07-26T05:54:03Z"
vanir_signatures
[
    {
        "digest": {
            "function_hash": "45059981939637157877700820184160513142",
            "length": 3748.0
        },
        "id": "CVE-2019-11338-27b24530",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/9ccc633068c6fe76989f487c8932bd11886ad65b",
        "signature_type": "Function",
        "target": {
            "function": "decode_nal_unit",
            "file": "libavcodec/hevcdec.c"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "167280379000740045495955150237615756625",
                "217014810008278832315784870144539884880",
                "275342592106358026505968957521723311896",
                "93282334362186985464861588891659759283",
                "20102417044240740358849022761902872871",
                "315077692536051889598880836078603069425",
                "70136499457010029194053811280640163862",
                "143535213550679828004584463617263301076",
                "128790428654206636083008055072316941250",
                "317589072920574188696555524382694908121",
                "230507251567370162258824489236627234082",
                "326752629143355640910394448450558654154",
                "272291046614698887552076985666997168650",
                "184162110970024235939528314086827681328",
                "138312105946242993354180976917596471857"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2019-11338-2ff1770d",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/54655623a82632e7624714d7b2a3e039dc5faa7e",
        "signature_type": "Line",
        "target": {
            "file": "libavcodec/hevcdec.c"
        }
    },
    {
        "digest": {
            "function_hash": "331539604942389623747355164843225661104",
            "length": 14167.0
        },
        "id": "CVE-2019-11338-50b395ac",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/9ccc633068c6fe76989f487c8932bd11886ad65b",
        "signature_type": "Function",
        "target": {
            "function": "hls_slice_header",
            "file": "libavcodec/hevcdec.c"
        }
    },
    {
        "digest": {
            "function_hash": "267982237115177009869281056395071073673",
            "length": 5011.0
        },
        "id": "CVE-2019-11338-57cefee5",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/54655623a82632e7624714d7b2a3e039dc5faa7e",
        "signature_type": "Function",
        "target": {
            "function": "decode_nal_unit",
            "file": "libavcodec/hevcdec.c"
        }
    },
    {
        "digest": {
            "function_hash": "79026117247124224733924662327854734242",
            "length": 14204.0
        },
        "id": "CVE-2019-11338-70732dfc",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/54655623a82632e7624714d7b2a3e039dc5faa7e",
        "signature_type": "Function",
        "target": {
            "function": "hls_slice_header",
            "file": "libavcodec/hevcdec.c"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "167280379000740045495955150237615756625",
                "217014810008278832315784870144539884880",
                "275342592106358026505968957521723311896",
                "93282334362186985464861588891659759283",
                "20102417044240740358849022761902872871",
                "247604245573560918611417214280701552476",
                "203456488689133841884968569597706019293",
                "226504480904387125210540704722477978516",
                "230507251567370162258824489236627234082",
                "326752629143355640910394448450558654154",
                "272291046614698887552076985666997168650",
                "184162110970024235939528314086827681328",
                "138312105946242993354180976917596471857"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2019-11338-f5c87da6",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/9ccc633068c6fe76989f487c8932bd11886ad65b",
        "signature_type": "Line",
        "target": {
            "file": "libavcodec/hevcdec.c"
        }
    }
]