CVE-2018-15822

Source
https://cve.org/CVERecord?id=CVE-2018-15822
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15822.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-15822
Downstream
Related
Published
2018-08-23T23:29:00.247Z
Modified
2026-07-08T14:14:43.585218Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The flvwritepacket function in libavformat/flvenc.c in FFmpeg through 2.8 does not check for an empty audio packet, leading to an assertion failure.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_STRING",
            "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:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "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",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ]
        }
    ]
}
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
Database specific
{
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.8"
        }
    ],
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"
}

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

Database specific

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

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
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.8"
        }
    ],
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"
}

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
n2.8-dev
n2.8.1
n2.8.10
n2.8.11
n2.8.12
n2.8.13
n2.8.14
n2.8.15
n2.8.2
n2.8.3
n2.8.4
n2.8.5
n2.8.6
n2.8.7
n2.8.8
n2.8.9
n2.9-dev
n3.*
n3.1-dev
n3.2-dev
n3.3-dev
n3.4-dev
n3.5-dev
n4.*
n4.1-dev

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15822.json"
vanir_signatures
[
    {
        "source": "https://github.com/ffmpeg/ffmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10",
        "digest": {
            "function_hash": "126605493963002243786763878397979972170",
            "length": 6210.0
        },
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "flv_write_packet",
            "file": "libavformat/flvenc.c"
        },
        "id": "CVE-2018-15822-61ede296"
    },
    {
        "source": "https://github.com/ffmpeg/ffmpeg/commit/d8ecb335fe4852bbc172c7b79e66944d158b4d92",
        "digest": {
            "line_hashes": [
                "147193301791415461805923920078285621927",
                "107193502165357748234612503756240350056",
                "118428189102459771525930371230979065799"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "libavformat/flvenc.c"
        },
        "id": "CVE-2018-15822-b9efedaf"
    },
    {
        "source": "https://github.com/ffmpeg/ffmpeg/commit/d8ecb335fe4852bbc172c7b79e66944d158b4d92",
        "digest": {
            "function_hash": "130541370860603874332054497531241140893",
            "length": 4678.0
        },
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "flv_write_packet",
            "file": "libavformat/flvenc.c"
        },
        "id": "CVE-2018-15822-d9e7c24d"
    },
    {
        "source": "https://github.com/ffmpeg/ffmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10",
        "digest": {
            "line_hashes": [
                "58527666524190152415447120377244757107",
                "62013923509066486281990892171178753293",
                "334080227211384791118196996465674911099"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "libavformat/flvenc.c"
        },
        "id": "CVE-2018-15822-ff0209f6"
    }
]
vanir_signatures_modified
"2026-07-08T14:14:43Z"