Out-of-Bounds Affecting giflib-devel package, versions <0:5.2.1-9.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.43% (36th 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-AMZN2023-GIFLIBDEVEL-13560823
  • published16 Oct 2025
  • disclosed22 Nov 2023

Introduced: 22 Nov 2023

CVE-2023-48161  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 giflib-devel to version 0:5.2.1-9.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-1220.

NVD Description

Note: Versions mentioned in the description apply only to the upstream giflib-devel package and not the giflib-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive information via the DumpSCreen2RGB function in gif2rgb.c

CVSS Base Scores

version 3.1