CVE-2018-11490
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.45%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.45% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-129, CWE-787
- Affected
- giflib project/giflib · sam2p project/sam2p · debian/debian linux · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/104327Third Party Advisory, VDB Entry
- https://github.com/pts/sam2p/issues/38Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00008.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4107-1/Third Party Advisory
- http://www.securityfocus.com/bid/104327Third Party Advisory, VDB Entry
- https://github.com/pts/sam2p/issues/38Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00008.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4107-1/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.