cvedb.io
CVE-2022-2566
CRITICAL · CVSS 9
EPSS exploitation probability: 0%
Published 2022-09-23T12:15:10.103 · Last modified 2026-06-17T04:42:07.790

Summary

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 products

ffmpeg — ffmpeg

Does this affect you?

Add your gear to cvedb and we'll alert you only when ffmpeg ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.