Bugzilla – Bug 1198880
VUL-1: CVE-2022-28506: giflib: Heap Buffer overflow in function DumpScreen2RGB()
Last modified: 2022-04-26 11:15:01 UTC
rh#2078745 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 References: https://bugzilla.redhat.com/show_bug.cgi?id=2078745 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-28506 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28506 https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png https://github.com/verf1sh/Poc/blob/master/giflib_poc https://sourceforge.net/p/giflib/bugs/159/
Affected: - openSUSE:Factory/giflib 5.2.1 Not affected: - SUSE:SLE-11:Update/giflib 4.1.6 - SUSE:SLE-12:Update/giflib 5.0.5 - SUSE:SLE-15:Update/giflib 5.1.4
Created attachment 858432 [details] QA Reproducer 1. Compile with ASAN: add "-fsanitize=address" to the CFLAGS in the Makefile 2. make 3. ./gif2rgb giflib_poc
There is no upstream fix yet.