CWE
125
Advisory Published
Updated

CVE-2017-16840

First published: Tue Nov 21 2017(Updated: )

The VC-2 Video Compression encoder in FFmpeg 3.0 and 3.4 allows remote attackers to cause a denial of service (out-of-bounds read) because of incorrect buffer padding for non-Haar wavelets, related to libavcodec/vc2enc.c and libavcodec/vc2enc_dwt.c.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/ffmpeg
7:4.1.9-0+deb10u1
7:4.1.11-0+deb10u1
7:4.3.6-0+deb11u1
7:5.1.3-1
7:6.0-7
FFmpeg=3.0
FFmpeg=3.4
Debian Linux=9.0

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 severity of CVE-2017-16840?

    CVE-2017-16840 is classified as a medium severity vulnerability due to its potential for causing denial of service.

  • How does CVE-2017-16840 affect FFmpeg?

    CVE-2017-16840 allows remote attackers to trigger an out-of-bounds read due to incorrect buffer padding in the VC-2 Video Compression encoder.

  • Which versions of FFmpeg are vulnerable to CVE-2017-16840?

    FFmpeg versions 3.0 and 3.4 are vulnerable to CVE-2017-16840.

  • How do I fix CVE-2017-16840?

    To fix CVE-2017-16840, upgrade FFmpeg to versions 7:4.1.9-0+deb10u1, 7:4.1.11-0+deb10u1, 7:4.3.6-0+deb11u1, 7:5.1.3-1, or 7:6.0-7.

  • What component of FFmpeg is affected by CVE-2017-16840?

    The vulnerability specifically affects the VC-2 Video Compression encoder in the libavcodec module 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203