CVE-2017-16840 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can cause a denial of service via an out-of-bounds read in the FFmpeg VC-2 encoder due to incorrect buffer padding.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-16840?

CVE-2017-16840 is a critical memory corruption vulnerability in Debian Debian Linux, published on 21 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2017-16840?

It affects 2 products.

Products include Debian Debian Linux, Ffmpeg Ffmpeg.

How do I fix CVE-2017-16840?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-16840 being exploited?

There is no known exploitation of CVE-2017-16840 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-16840, GHSA-m395-w54c-5rmj.

Is CVE-2017-16840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free