cbcvebase.
CVE-2022-2566
published 2022-09-23

CVE-2022-2566: 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…

PriorityP338high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.66%
47.9th percentile
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

8 ranges
VendorProductVersion rangeFixed in
debianffmpeg< ffmpeg 7:5.1.1-1 (bookworm)ffmpeg 7:5.1.1-1 (bookworm)
ffmpegffmpeg
ffmpegffmpeg>= 0 < 7:5.1.1-17:5.1.1-1
ffmpegffmpeg>= 0 < 7:5.1.1-17:5.1.1-1
ffmpegffmpeg>= 0 < 7:5.1.1-17:5.1.1-1
ffmpegffmpeg>= 5.1 < unspecifiedunspecified
ffmpegffmpeg>= ab77b878f1205225c6de1370fb0e998dbcc8bc69 < unspecifiedunspecified
ffmpegffmpeg>= unspecified < c953baa084607dd1d84c3bfcce3cf6a87c3e6e05c953baa084607dd1d84c3bfcce3cf6a87c3e6e05

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian9.0CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.