CVE-2025-31344 json
The giflib open-source component has a buffer overflow vulnerability
published 2025-04-14 18 mo ago modified 2026-06-17 4 mo 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
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 giflibaffected: 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 morenot affected: vulnerable code not present
+2 more productsfewer
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
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
- 18 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
- openeuler.org /zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1292
- gitee.com /src-openeuler/giflib/pulls/54
- openwall.com /lists/oss-security/2025/04/07/3
- openwall.com /lists/oss-security/2025/04/07/4
- openwall.com /lists/oss-security/2025/04/07/5
- openwall.com /lists/oss-security/2025/04/07/6
- openwall.com /lists/oss-security/2025/04/08/1
- openwall.com /lists/oss-security/2025/04/09/5
- openwall.com /lists/oss-security/2025/04/09/7
- openwall.com /lists/oss-security/2025/04/10/1
Sources
- CVE List CVE-2025-31344
- NVD CVE-2025-31344
Fencer Vulns 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.