CVE-2022-2566: Heap-memory write in FFMPEG

Published Sep 23, 2022
·
Updated

A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in buildopengopkeypoints() goes through all entries in the loop and adds sc->cttsdata[i].count to sc->sampleoffsetscount. This can lead to an integer overflow resulting in a small allocation with avcalloc(). An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05

Affected Software

1 affected component
FFmpeg FFmpeg=5.1

Event History

Sep 23, 2022
CVE Published
via MITRE·11:10 AM
Data Sourced
via MITRE·11:10 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the vulnerability ID for this FFMPEG vulnerability?

The vulnerability ID for this FFMPEG vulnerability is CVE-2022-2566.

2

What is the severity of CVE-2022-2566?

The severity of CVE-2022-2566 is critical with a CVSS score of 7.8.

3

Which version of FFMPEG is affected by CVE-2022-2566?

FFMPEG version 5.1 is affected by CVE-2022-2566.

4

What is the impact of CVE-2022-2566?

CVE-2022-2566 can lead to an integer overflow resulting in a small allocation with potential for code execution, denial of service, or information disclosure.

5

Is there a fix available for CVE-2022-2566?

Yes, a fix is available for CVE-2022-2566. It is recommended to update to a fixed version of FFMPEG.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203