CVE-2025-31344
CVE-2025-31344 · The giflib open-source component has a buffer overflow vulnerability
CVSS 7.3 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- giflibNo fix published
- giflib Alpine 3.21Update to 5.2.2-r1
- giflib Alpine 3.22Update to 5.2.2-r1
- giflib Alpine 3.23Update to 5.2.2-r1
- and 4 more
Check the installed version:
apk list -I -o giflibAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2025:1164-1 · openSUSE Leap 15.6, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
- SUSE-SU-2025:1163-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
Stack: system
Affected products and versions
giflib
- Versions
- ≥ 0, ≤ 5.2.2: Affected; ≥ 2c10c1abf8ff2e88b1da04e050bb721487b73fa3: Affected (git)
No fix published
giflib Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 5.2.2-r1
Update to 5.2.2-r1
giflib Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 5.2.2-r1
Update to 5.2.2-r1
giflib Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 5.2.2-r1
Update to 5.2.2-r1
giflib Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 5.2.2-r1
Update to 5.2.2-r1
giflib Debian 12
- Versions
- 5.2.1-2.5
- 5.2.1-2.5+deb12u1
- 5.2.2-1
- 6.1.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
giflib Debian 13
- Versions
- 5.2.2-1
- 5.2.2-1+deb13u1
- 6.1.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
giflib Debian 14
- Versions
- 5.2.2-1
- Affected ranges
- ECOSYSTEM: < 6.1.3-1
Update to 6.1.3-1
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-31344