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.
{
"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"
}
]
}
]
}{
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.8"
}
],
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.8"
}
],
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15822.json"
[
{
"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"
}
]
"2026-07-08T14:14:43Z"