Heap-based Buffer Overflow Affecting ffmpeg package, versions >=0.0.0
Threat Intelligence
EPSS
0.1% (43rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-COCOAPODS-FFMPEG-3031788
- published 23 Sep 2022
- disclosed 23 Sep 2022
- credit Unknown
Introduced: 23 Sep 2022
CVE-2022-2566 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
FFmpeg is a FFmpeg static library ruby binding that is compiled for iOS and CocoaPods.
Affected versions of this package are vulnerable to Heap-based Buffer Overflow. 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().
References
CVSS Scores
version 3.1