Heap-based Buffer Overflow Affecting giflib package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GIFLIB-2803310
  • published26 Apr 2022
  • disclosed26 Apr 2022
  • creditverf1sh

Introduced: 26 Apr 2022

CVE-2022-28506  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for giflib.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the function DumpScreen2RGB() in gif2rgb.c:298:45.

PoC:

PoC fIile

AFL_USE_ASAN=1 make
./gif2rgb giflib_poc

CVSS Scores

version 3.1