cve.bz

CVE-2025-31344 Heap-based Buffer Overflow

7.3 highEPSS 0.3%

High (7.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-31344 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31344?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31344?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-31344 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13giflibno fix listedDEBIAN-CVE-2025-31344
Debian14giflib6.1.3-1DEBIAN-CVE-2025-31344
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 moregiflib5.2.2-150000.4.16.1SUSE-SU-2025:1164-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5giflib5.0.5-13.9.1SUSE-SU-2025:1163-1
openSUSELeap 15.6giflib5.2.2-150000.4.16.1SUSE-SU-2025:1164-1
Alpinev3.21, v3.22, v3.23 and 1 moregiflib5.2.2-r1ALPINE-CVE-2025-31344
Azure Linux2giflib5.2.1-9AZL-60246
Azure Linux3giflib5.2.1-10AZL-60261
Alpaquita23giflib5.2.2-r2BELL-CVE-2025-31344
Alpaquitastreamgiflib5.2.2-r1BELL-CVE-2025-31344

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

java-*-openjdk-headless packages do not contain libawt.so, hence are not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of OpenJDK 11java-11-openjdk-portableNot affected
Red Hat build of OpenJDK 17java-17-openjdk-portableNot affected
Red Hat build of OpenJDK 1.8java-1.8.0-openjdk-portableNot affected
Red Hat build of OpenJDK 21java-21-openjdk-portableNot affected
Red Hat Enterprise Linux 10giflibFix deferred
Red Hat Enterprise Linux 10java-21-openjdkNot affected
Red Hat Enterprise Linux 6giflibFix deferred
Red Hat Enterprise Linux 7giflibFix deferred
Red Hat Enterprise Linux 7java-1.8.0-openjdkNot affected
Red Hat Enterprise Linux 8giflibFix deferred
Red Hat Enterprise Linux 8java-17-openjdkNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdkNot affected
Red Hat Enterprise Linux 8java-21-openjdkNot affected
Red Hat Enterprise Linux 9giflibFix deferred
Red Hat Enterprise Linux 9java-17-openjdkNot affected
Red Hat Enterprise Linux 9java-1.8.0-openjdkNot affected
Red Hat Enterprise Linux 9java-21-openjdkNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-31344.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON