FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parseplaylist in libavformat/hls.c frees a pointer, and later that pointer is accessed in avprobeinputformat3 in libavformat/format.c.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.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:20.04:*:*:*:lts:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING",
"vendor_product": "debian:debian_linux",
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
]
}
]
}{
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:ffmpeg:ffmpeg:2.8:*:*:*:*:*:*:*",
"cpe:2.3:a:ffmpeg:ffmpeg:4.2.3:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "2.8"
},
{
"last_affected": "2.8"
},
{
"introduced": "4.2.3"
},
{
"last_affected": "4.2.3"
}
]
}{
"source": [
"CPE_STRING",
"REFERENCES"
],
"cpe": [
"cpe:2.3:a:ffmpeg:ffmpeg:2.8:*:*:*:*:*:*:*",
"cpe:2.3:a:ffmpeg:ffmpeg:4.2.3:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "2.8"
},
{
"last_affected": "2.8"
},
{
"introduced": "4.2.3"
},
{
"last_affected": "4.2.3"
}
]
}"2026-07-08T16:26:54Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13904.json"
[
{
"id": "CVE-2020-13904-2b8821e2",
"digest": {
"line_hashes": [
"158144811077034995109933837677768601857",
"281751093908803107971940014393508807726",
"240764462031438200492845385032705040109",
"15703913043383878175200160282698241320",
"138080608107875226115977774548120949879",
"259048102838479733394805058517030239279",
"17084527969274049166290416022132557131",
"269990059958938381327368365588722984632"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/ffmpeg/ffmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2",
"deprecated": false,
"target": {
"file": "libavformat/hls.c"
}
},
{
"id": "CVE-2020-13904-f5815e55",
"digest": {
"function_hash": "45061495392761575669141487341416533816",
"length": 4983.0
},
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/ffmpeg/ffmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2",
"deprecated": false,
"target": {
"function": "parse_playlist",
"file": "libavformat/hls.c"
}
}
]