medium5.5
CVE-2022-28506
There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
Impact
There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Giflib Project | Giflib | Version 5.2.1 |
| Fedoraproject | Fedora | Versions 35, 36 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png
- https://github.com/verf1sh/Poc/blob/master/giflib_poc
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4CJSHXBD2RS5OJNWSHQZVMTQCCTIPYS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KEAFUZXOOJJVFYRQM6IIJ7LMLEKCCESG/
- 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
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4CJSHXBD2RS5OJNWSHQZVMTQCCTIPYS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KEAFUZXOOJJVFYRQM6IIJ7LMLEKCCESG/
- https://sourceforge.net/p/giflib/bugs/159/