Bug 1583400 (CVE-2018-11490) - CVE-2018-11490 giflib: heap-based buffer overflow in DGifDecompressLine function in dgif_lib.c
Summary: CVE-2018-11490 giflib: heap-based buffer overflow in DGifDecompressLine funct...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-11490
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1583404 1583405
Blocks: 1583408
TreeView+ depends on / blocked
 
Reported: 2018-05-28 22:18 UTC by Laura Pardo
Modified: 2021-02-17 00:14 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 09:52:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-05-28 22:18:57 UTC
A flaw was found in 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.


References:
https://github.com/pts/sam2p/issues/38

Comment 1 Laura Pardo 2018-05-28 22:19:47 UTC
Created giflib tracking bugs for this issue:

Affects: fedora-all [bug 1583404]

Comment 3 James Hebden 2018-06-05 05:36:07 UTC
phantomjs used in RHOSP7-optools bundles version 4.0 of giflib, which does not contain the vulnerable DGifDecompressLine function.

Comment 4 Sandro Mani 2018-06-15 20:57:18 UTC
Upstream ticket: https://sourceforge.net/p/giflib/bugs/113/

Comment 5 Stefan Cornelius 2018-08-02 09:53:02 UTC
Statement:

This issue did not affect the versions of giflib as shipped with Red Hat Enterprise Linux 5, 6, an 7.


Note You need to log in before you can comment on or make changes to this bug.