CVE-2017-7866 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in FFmpeg's PNG decoder allows attackers to execute arbitrary code or cause denial of service via crafted files.

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-7866?

CVE-2017-7866 is a critical memory corruption vulnerability in Ffmpeg Ffmpeg, published on 14 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

FFmpeg before 2017-01-23 has an out-of-bounds write caused by a stack-based buffer overflow related to the decode_zbuf function in libavcodec/pngdec.c.

Weakness: CWE-787

Which versions are affected by CVE-2017-7866?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2017-7866?

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-7866 being exploited?

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

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7866, GHSA-6hc6-27m3-7grx, UBUNTU-CVE-2017-7866.

Is CVE-2017-7866 in your software?

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

Check your SBOMs for free