{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-2566","published":"2022-09-23T12:15:10.103000Z","last_modified":"2026-06-17T04:42:07.790000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-122","CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:ffmpeg:ffmpeg:5.1:*:*:*:*:*:*:*","part":"a","vendor":"ffmpeg","product":"ffmpeg","version":"5.1"}],"cpes_truncated":false,"vendors":["ffmpeg"],"products":["ffmpeg/ffmpeg"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00965,"percentile":0.604,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2022-2566/","html_en":"/en/cve/CVE-2022-2566/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-2566","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-2566"},"untrusted":{"vendor_name":"Ffmpeg","product_name":"Ffmpeg","desc_en":"A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in `build_open_gop_key_points()` goes through all entries in the loop and adds `sc->ctts_data[i].count` to `sc->sample_offsets_count`. This can lead to an integer overflow resulting in a small allocation with `av_calloc()`. An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05","affected":[{"untrusted_vendor":"FFMPEG","untrusted_product":"FFMPEG","versions":[]}],"references":[{"url":"https://github.com/FFmpeg/FFmpeg/commit/c953baa084607dd1d84c3bfcce3cf6a87c3e6e05","tags":["Patch","Third Party Advisory"]}]}}