Vulnerability · Published Apr 14, 2025 · Assigned by openEuler
CVE-2025-31344The giflib open-source component has a buffer overflow vulnerability
High 7.3
In plain English
A high-severity heap buffer overflow in giflib from openEuler. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.3%top 82.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | giflib | 5.2.2-r1 | ALPINE-CVE-2025-31344 |
| Alpine:v3.22 | giflib | 5.2.2-r1 | ALPINE-CVE-2025-31344 |
| Alpine:v3.23 | giflib | 5.2.2-r1 | ALPINE-CVE-2025-31344 |
| Alpine:v3.24 | giflib | 5.2.2-r1 | ALPINE-CVE-2025-31344 |
| Debian:12 | giflib | no fix listed | DEBIAN-CVE-2025-31344 |
| Debian:13 | giflib | no fix listed | DEBIAN-CVE-2025-31344 |
| Debian:14 | giflib | 6.1.3-1 | DEBIAN-CVE-2025-31344 |
| Ubuntu:22.04:LTS | giflib | no fix listed | UBUNTU-CVE-2025-31344 |
| Ubuntu:24.04:LTS | giflib | no fix listed | UBUNTU-CVE-2025-31344 |
| Ubuntu:25.10 | giflib | no fix listed | UBUNTU-CVE-2025-31344 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1292
- https://gitee.com/src-openeuler/giflib/pulls/54
- http://www.openwall.com/lists/oss-security/2025/04/07/3
- http://www.openwall.com/lists/oss-security/2025/04/07/4
- http://www.openwall.com/lists/oss-security/2025/04/07/5
- http://www.openwall.com/lists/oss-security/2025/04/07/6
- http://www.openwall.com/lists/oss-security/2025/04/08/1
- http://www.openwall.com/lists/oss-security/2025/04/09/5
- http://www.openwall.com/lists/oss-security/2025/04/09/7
- http://www.openwall.com/lists/oss-security/2025/04/10/1