Heap-based Buffer Overflow Affecting giflib-devel package, versions <0:5.2.1-9.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.26% (18th 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-13560773
  • published16 Oct 2025
  • disclosed14 Apr 2025

Introduced: 14 Apr 2025

CVE-2025-31344  (opens in a new tab)
CWE-122  (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.

Heap-based Buffer Overflow vulnerability in openEuler giflib on Linux. This vulnerability is associated with program files gif2rgb.C.

This issue affects giflib: through 5.2.2.

CVSS Base Scores

version 3.1