CVE-2016-3977 Memory corruption in n/a

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via a crafted GIF file exploiting a heap-based buffer overflow in the giflib library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-3977?

CVE-2016-3977 is a medium-severity memory corruption vulnerability in Opensuse Opensuse, published on 21 Apr 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Heap-based buffer overflow in util/gif2rgb.c in gif2rgb in giflib 5.1.2 allows remote attackers to cause a denial of service (application crash) via the background color index in a GIF file.

Weakness: CWE-119

Which versions are affected by CVE-2016-3977?

It affects 2 products.

Linux distribution packages (11)
giflib SUSE:Linux Enterprise Desktop 12All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Desktop 12 SP1All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Server 11 SP4All versions4.1.6-21.1
giflib SUSE:Linux Enterprise Server 12All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Server 12 SP1All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions4.1.6-21.1
giflib SUSE:Linux Enterprise Server for SAP Applications 12All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Software Development Kit 11 SP4All versions4.1.6-21.1
giflib SUSE:Linux Enterprise Software Development Kit 12All versions5.0.5-12.1
giflib SUSE:Linux Enterprise Software Development Kit 12 SP1All versions5.0.5-12.1

Products include Giflib Project Giflib, Opensuse Opensuse.

How do I fix CVE-2016-3977?

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

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

All Opensuse Opensuse vulnerabilities

Sources

Also known as ALPINE-CVE-2016-3977, DEBIAN-CVE-2016-3977, GHSA-f9f6-3pmf-963r, MGASA-2016-0399, SUSE-SU-2016:1139-1, SUSE-SU-2016:1140-1 and 1 more.

Is CVE-2016-3977 in your software?

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

Check your SBOMs for free