Out-of-bounds Read Affecting giflib package, versions [,5.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.02% (77th 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-CONAN-GIFLIB-10075925
  • published8 May 2025
  • disclosed21 Apr 2021
  • creditUnknown

Introduced: 21 Apr 2021

CVE-2020-23922  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade giflib to version 5.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

References

CVSS Base Scores

version 3.1