CVE-2016-3977
CVE-2016-3977 is a medium-severity vulnerability in Giflib Project Giflib with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 2% (80th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Giflib Project Giflib
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2016-3977?
- 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.
- How severe is CVE-2016-3977?
- CVE-2016-3977 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2016-3977 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (80th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2016-3977?
- CVE-2016-3977 primarily affects Giflib Project Giflib. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2016-3977?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2016-3977 published?
- CVE-2016-3977 was published on 2016-04-21 and last updated on 2026-06-17.
References
- http://bugs.fi/fuzzing/index.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00084.html
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00019.html
- http://www.securityfocus.com/bid/88103
- https://bugzilla.redhat.com/show_bug.cgi?id=1325771
- https://sourceforge.net/p/giflib/bugs/87/
- https://sourceforge.net/p/giflib/code/ci/ea8dbc5786862a3e16a5acfa3d24e2c2f608cd88/
- https://usn.ubuntu.com/4107-1/
Affected products (2)
- cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
- cpe:2.3:a:giflib_project:giflib:*:*:*:*:*:*:*:*
More vulnerabilities in Giflib Project Giflib
- CVE-2016-3177 — Critical (CVSS 9.8): Multiple use-after-free and double-free vulnerabilities in gifcolor.c in GIFLIB 5.1.2 have unspecified impact and…
- CVE-2021-40633 — High (CVSS 8.8): A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote attackers trigger an out of…
- CVE-2018-11490 — High (CVSS 8.8): The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p…
- CVE-2018-11489 — High (CVSS 8.8): The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p…
- CVE-2026-26740 — High (CVSS 8.2): Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the…
- CVE-2023-48161 — High (CVSS 7.1): Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive information…
All CVEs affecting Giflib Project Giflib →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-77946 — Critical (CVSS 10.0): A vulnerability was determined in TRENDnet TEW-821DAP 2.2.01b05. Affected by this vulnerability is the function…
- CVE-2026-76008 — Critical (CVSS 10.0): A flaw has been found in Comfast CF-N1-S 2.6.0.1. This affects the function get_para_from_uri of the file…
- CVE-2026-75784 — Critical (CVSS 10.0): A vulnerability was detected in TRENDnet TEW-WLC100 1v2.07b01. Affected by this issue is the function FUN_0040da4c of…
- CVE-2026-74843 — Critical (CVSS 10.0): A vulnerability was determined in Wavlink WN531P3 and WN535M1 V250922. Affected by this vulnerability is the function…
- CVE-2026-16367 — Critical (CVSS 10.0): Sandbox escape due to invalid pointer in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…