Out-of-bounds Write
CVE-2022-2566
Summary
A heap out-of-bounds memory write exists in FFMPEG. 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. This issue affects versions 5.1 and 5.2-dev
- LOW
- LOCAL
- HIGH
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
CWE-787 - Out-of-Bounds Write
Out-of-bounds write vulnerability is a memory access bug that allows software to write data past the end or before the beginning of the intended buffer. This may result in the corruption of data, a crash, or arbitrary code execution.
References
Advisory Timeline
- Published