CVE-2025-31344
A public proof of concept exists; no exploitation attested.
- Published2025-04-14
- WeaknessCWE-122
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2025-04-1408:15CVE publishedNVD
Versions per branch
Products declared by the CNA1 product
As openEuler, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- openEuler giflibother versions: not affected
package giflibhttps://gitee.com/src-openeulerplatforms: Linux
Affected- ≤ 5.2.2no fix statedgit
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-04-14
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-nifiCleanStartall versions · fixed in 2.9.0-r3
- apache-nifiCleanStartall versions · fixed in 2.6.0-r3
- giflibTuxCare:AlmaLinux:9.2all versions · fixed in 5.2.1-9.el9.tuxcare.els1and 2 other packages
- giflibSUSE:Manager Server 4.3all versions · fixed in 5.2.2-150000.4.16.1
- giflibSUSE:Manager Proxy 4.3all versions · fixed in 5.2.2-150000.4.16.1
- giflibSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5all versions · fixed in 5.0.5-13.9.1
- giflibSUSE:Linux Enterprise Server for SAP Applications 15 SP5all versions · fixed in 5.2.2-150000.4.16.1
- giflibSUSE:Linux Enterprise Server for SAP Applications 15 SP4all versions · fixed in 5.2.2-150000.4.16.1
38 more package ranges on OSV.dev
Vendor advisories
giflib: The giflib open-source component has a buffer overflow vulnerability
giflib as a component of Red Hat Enterprise Linux 10 · giflib-devel as a component of Red Hat Enterprise Linux 10 · giflib.src as a component of Red Hat Enterprise Linux 10 · +13 more
Fix
- Workaround from the vendor Red Hat Product Security CVE-2025-31344 · 16 productsMitigation 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.
- No fix available, says the vendor Red Hat Product Security CVE-2025-31344 · 16 productsFix deferred
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-14
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2025-04-14
- CNACVSS 3.17.3known since 2026-10-23
- CNAweakness (CWE)CWE-122known since 2026-10-23
- FIRST EPSSEPSS score0.3 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-60246same flawAzure Linux · MIT
- AZL-60261same flawAzure Linux · MIT
- EUVD-2025-10875same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4764-r75x-h867same flawGitHub Advisory Database · CC-BY-4.0
- MGASA-2025-0135advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1380advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1381advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1382advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1383advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1388advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1389advisory covering several CVEsopenEuler · LicenseRef-unstated
- SUSE-SU-2025:1163-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1164-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Published
- 2025-04-14
- Last modified
- 2026-06-17
- NVD status
- Deferred
- GitHub advisory
- GHSA-4764-r75x-h867
Frequently asked questions
What is CVE-2025-31344?
Is CVE-2025-31344 actively exploited?
What is the CVSS score for CVE-2025-31344?
Running giflib? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4764-r75x-h867
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0