Skip to content
Fencer Intel
high 7.3

CVE-2025-31344 json

The giflib open-source component has a buffer overflow vulnerability

published last yr. modified 4mo ago also EUVD-2025-10875

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 18%
public exploits
0
none known

Summary

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.

Patch / fix

  • giflib Debian 14 6.1.3-1

debian advisories DEBIAN-CVE-2025-31344

  • giflib SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +13 more 5.2.2-150000.4.16.1
  • giflib SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 5.0.5-13.9.1

suse advisories SUSE-SU-2025:1164-1SUSE-SU-2025:1163-1

  • giflib Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 5.2.2-r1

alpine advisories ALPINE-CVE-2025-31344

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • giflib CBL-Mariner 2.0 5.2.1-9
  • giflib Azure Linux 3.0 5.2.1-10

azure linux advisories AZL-60246AZL-60261

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2025-31344 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-31344 updated cvss 5.9

giflib: The giflib open-source component has a buffer overflow vulnerability

  • Red Hat Enterprise Linux 6 giflib, giflib-utils Red Hat Enterprise Linux 7 giflib, giflib-utils Red Hat Enterprise Linux 8 giflib Red Hat Enterprise Linux 9 giflib Red Hat Enterprise Linux 10 giflib
    affected: workaround, no fix available “Fix deferred”
  • Red Hat build of OpenJDK 1.8 java-1.8.0-openjdk-portable Red Hat build of OpenJDK 11 java-11-openjdk-portable Red Hat build of OpenJDK 17 java-17-openjdk-portable Red Hat build of OpenJDK 21 java-21-openjdk-portable Red Hat Enterprise Linux 7 java-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo, java-1.8.0-openjdk-javadoc, java-1.8.0-openjdk-headless, java-1.8.0-openjdk-javadoc-zip, +1 more Red Hat Enterprise Linux 8 java-17-openjdk, java-21-openjdk, java-1.8.0-openjdk, java-17-openjdk-src, java-21-openjdk-src, java-17-openjdk-demo, +57 more
    +2 more products
    Red Hat Enterprise Linux 9 java-17-openjdk, java-21-openjdk, java-1.8.0-openjdk, java-17-openjdk-src, java-21-openjdk-src, java-17-openjdk-demo, +54 more Red Hat Enterprise Linux 10 java-21-openjdk
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Affected products

  • openEuler giflib

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.