Giflib Project Giflib vulnerabilities
17 known vulnerabilities affecting giflib_project/giflib.
Total CVEs
17
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH8MEDIUM7LOW1
Vulnerabilities
Page 1 of 1
CVE-2026-26740P3HIGHCVSS 8.2v5.2.22026-03-18
CVE-2026-26740 [HIGH] CWE-787 CVE-2026-26740: Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of servic
Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the EGifGCBToExtension overwriting an existing Graphic Control Extension block without validating its allocated size.
nvd
CVE-2018-11489P3HIGHCVSS 8.8≥ 3.0, ≤ 3.1.12018-05-26
CVE-2018-11489 [HIGH] CWE-129 CVE-2018-11489: The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped i
The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain CrntCode array index is not checked. This will lead to a denial of service or possibly unspecified other impact.
nvdosv
CVE-2018-11490P3HIGHCVSS 8.8≥ 3.0, ≤ 3.1.12018-05-26
CVE-2018-11490 [HIGH] CWE-129 CVE-2018-11490: The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped i
The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain "Private->RunningCode - 2" array index is not checked. This will lead to a denial of service or possibly unspecified other impact.
nvdosv
CVE-2021-40633P3HIGHCVSS 8.8v5.1.42022-06-14
CVE-2021-40633 [HIGH] CWE-401 CVE-2021-40633: A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote attackers t
A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote attackers trigger an out of memory exception or denial of service via a gif format file.
nvdosv
CVE-2016-3177P3CRITICALCVSS 9.8v5.1.22017-01-23
CVE-2016-3177 [CRITICAL] CWE-415 CVE-2016-3177: Multiple use-after-free and double-free vulnerabilities in gifcolor.c in GIFLIB 5.1.2 have unspecifi
Multiple use-after-free and double-free vulnerabilities in gifcolor.c in GIFLIB 5.1.2 have unspecified impact and attack vectors.
nvdosv
CVE-2025-31344P3HIGHCVSS 7.3≥ 0, < 5.2.2-r12025-04-14
CVE-2025-31344 [HIGH] CVE-2025-31344: Heap-based Buffer Overflow vulnerability in openEuler giflib on Linux
Heap-based Buffer Overflow vulnerability in openEuler giflib on Linux. This vulnerability is associated with program files gif2rgb.C.
This issue affects giflib: through 5.2.2.
osv
CVE-2005-3350P4HIGHCVSS 7.5≥ 0, < 4.1.4-12005-11-04
CVE-2005-3350 [HIGH] CVE-2005-3350: libungif library before 4
libungif library before 4.1.0 allows attackers to corrupt memory and possibly execute arbitrary code via a crafted GIF file that leads to an out-of-bounds write.
osv
CVE-2024-45993P4MEDIUMCVSS 6.5v5.2.22024-09-30
CVE-2024-45993 [MEDIUM] CWE-787 CVE-2024-45993: Giflib Project v5.2.2 is vulnerable to a heap buffer overflow via gif2rgb.
Giflib Project v5.2.2 is vulnerable to a heap buffer overflow via gif2rgb.
nvd
CVE-2020-23922P4HIGHCVSS 7.1≤ 5.1.42021-04-21
CVE-2020-23922 [HIGH] CWE-125 CVE-2020-23922: An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer
An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.
nvdosv
CVE-2023-48161P4HIGHCVSS 7.1v5.2.12023-11-22
CVE-2023-48161 [HIGH] CWE-787 CVE-2023-48161: Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sen
Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive information via the DumpSCreen2RGB function in gif2rgb.c
nvdosv
CVE-2019-15133P4MEDIUMCVSS 6.5fixed in 5.1.72019-08-17
CVE-2019-15133 [MEDIUM] CWE-369 CVE-2019-15133: In GIFLIB before 2019-02-16, a malformed GIF file triggers a divide-by-zero exception in the decoder
In GIFLIB before 2019-02-16, a malformed GIF file triggers a divide-by-zero exception in the decoder function DGifSlurp in dgif_lib.c if the height field of the ImageSize data structure is equal to zero.
nvdosv
CVE-2022-28506P4MEDIUMCVSS 5.5v5.2.12022-04-25
CVE-2022-28506 [MEDIUM] CWE-787 CVE-2022-28506: There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
nvdosv
CVE-2016-3977P4MEDIUMCVSS 5.5≤ 5.1.22016-04-21
CVE-2016-3977 [MEDIUM] CWE-119 CVE-2016-3977: Heap-based buffer overflow in util/gif2rgb.c in gif2rgb in giflib 5.1.2 allows remote attackers to c
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.
nvdosv
CVE-2015-7555P4MEDIUMCVSS 5.5≤ 5.1.12016-04-13
CVE-2015-7555 [MEDIUM] CWE-119 CVE-2015-7555: Heap-based buffer overflow in giffix.c in giffix in giflib 5.1.1 allows attackers to cause a denial
Heap-based buffer overflow in giffix.c in giffix in giflib 5.1.1 allows attackers to cause a denial of service (program crash) via crafted image and logical screen width fields in a GIF file.
nvdosv
CVE-2026-23868P4MEDIUMCVSS 5.1≥ 5.0.0, ≤ 6.1.12026-03-10
CVE-2026-23868 [MEDIUM] CWE-415 CVE-2026-23868: Giflib contains a double-free vulnerability that is the result of a shallow copy in GifMakeSavedImag
Giflib contains a double-free vulnerability that is the result of a shallow copy in GifMakeSavedImage and incorrect error handling. The conditions needed to trigger this vulnerability are difficult but may be possible.
nvd
CVE-2023-39742P4MEDIUMCVSS 5.5v5.2.12023-08-25
CVE-2023-39742 [MEDIUM] CWE-120 CVE-2023-39742: giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
nvd
CVE-2005-2974P4LOWCVSS 2.6≥ 0, < 4.1.4-12005-11-04
CVE-2005-2974 [LOW] CVE-2005-2974: libungif library before 4
libungif library before 4.1.0 allows attackers to cause a denial of service via a crafted GIF file that triggers a null dereference.
osv