CVE-2022-2566
Publication date 23 September 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ffmpeg | ||
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty | Ignored end of standard support, was not-affected |
Notes
ccdm94
vulnerability introduced by commit ab77b878f12. Affected version is version 5.1, when it includes the code from this commit.
Patch details
| Package | Patch details |
|---|---|
| ffmpeg |
Severity score breakdown
CVSS version: CVSS v3.0
Base score
7.8 · High
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H