CWE
190 122
Advisory Published
Updated

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

First published: Fri Sep 23 2022(Updated: )

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

Credit: cve-coordination@google.com

Affected SoftwareAffected VersionHow to fix
FFmpeg FFmpeg=5.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this FFMPEG vulnerability?

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

  • What is the severity of CVE-2022-2566?

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

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

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

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203