Bug 2078745 (CVE-2022-28506) - CVE-2022-28506 giflib: buffer overflow in function DumpScreen2RGB()
Summary: CVE-2022-28506 giflib: buffer overflow in function DumpScreen2RGB()
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-28506
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2078747 2078748 2080225 2080226
Blocks: 2078746
TreeView+ depends on / blocked
 
Reported: 2022-04-26 06:50 UTC by Vipul Nair
Modified: 2022-09-20 12:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in giflib, in the command-line tool gif2rgb. Information disclosure is possible due to a buffer overflow in the DumpScreen2RGB() function.
Clone Of:
Environment:
Last Closed: 2022-09-19 18:15:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2022-04-26 06:50:17 UTC
There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.

https://sourceforge.net/p/giflib/bugs/159/
https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png
https://github.com/verf1sh/Poc/blob/master/giflib_poc

Comment 1 Vipul Nair 2022-04-26 06:54:08 UTC
Created giflib tracking bugs for this issue:

Affects: fedora-all [bug 2078747]


Created mingw-giflib tracking bugs for this issue:

Affects: fedora-all [bug 2078748]


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