CVE-2016-3982 Memory corruption in n/a
Remote attackers can execute arbitrary code or cause denial of service via a crafted image file due to a heap-based buffer overflow in OptiPNG.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-3982?
CVE-2016-3982 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 13 Apr 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (out-of-bounds read or write access and crash) or possibly execute arbitrary code via a crafted image file, which triggers a heap-based buffer overflow.
Weakness: CWE-119
Which versions are affected by CVE-2016-3982?
It affects 5 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Opensuse Opensuse, Optipng Project Optipng.
How do I fix CVE-2016-3982?
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-2016-3982 being exploited?
There is no known exploitation of CVE-2016-3982 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2016-3982, GHSA-pg66-fmrg-mp86, UBUNTU-CVE-2016-3982.