CVE-2022-2566
Last modified
CVE-2022-2566 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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`. EPSS estimates a 0.61% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | 5.1 |
References
- https://github.com/FFmpeg/FFmpeg/commit/c953baa084607dd1d84c3bfcce3cf6a87c3e6e05Patch, Third Party Advisory
- https://github.com/FFmpeg/FFmpeg/commit/c953baa084607dd1d84c3bfcce3cf6a87c3e6e05Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-2566?
How severe is CVE-2022-2566?
How do I fix CVE-2022-2566?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25654Memory corruption in kernel due to improper input validation…6.7
- CVE-2022-25655Memory corruption in WLAN HAL while arbitrary value is passe…7.8
- CVE-2022-25656Possible integer overflow and memory corruption due to impro…7.8
- CVE-2022-25657Memory corruption due to buffer overflow occurs while proces…9.8
- CVE-2022-25658Memory corruption due to incorrect pointer arithmetic when a…9.8
- CVE-2022-25659Memory corruption due to buffer overflow while parsing MKV c…9.8
- CVE-2022-25660Memory corruption due to double free issue in kernel in Snap…7.8
- CVE-2022-25661Memory corruption due to untrusted pointer dereference in ke…7.8
- CVE-2022-25662Information disclosure due to untrusted pointer dereference …7.5
- CVE-2022-25663Possible buffer overflow due to lack of buffer length check …5.5
- CVE-2022-25664Information disclosure due to exposure of information while …5.5
- CVE-2022-25665Information disclosure due to buffer over read in kernel in …7.1
Are you affected by CVE-2022-2566?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
