# CVE-2025-31344: giflib: Heap-based Buffer Overflow vulnerability in openEuler giflib on Linux

CVE-2025-31344 is fixed in 6 products on 1 platform, first by SUSE-SU-2025:1164-1, released April 8, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-31344
- Priority: High
- CVSS: 7.3 (high)
- EPSS: 0.0027
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 8, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | giflib Debian 14 | 6.1.3-1 | [DEBIAN-CVE-2025-31344](https://patchblox.com/security/data/fix/linux/debian-cve-2025-31344.md) | Apr 14, 2025 |
| Linux | giflib amzn 2023 | 5.2.1-9.amzn2023.0.2 | [ALAS2023-2025-1220](https://patchblox.com/security/data/fix/linux/alas2023-2025-1220.md) | Oct 14, 2025 |
| Linux | giflib opensuse-leap 15.6 | 5.2.2-150000.4.16.1 | [SUSE-SU-2025:1164-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1164-1.md) | Apr 8, 2025 |
| Linux | giflib sles 15.6 | 5.2.2-150000.4.16.1 | [SUSE-SU-2025:1164-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1164-1.md) | Apr 8, 2025 |
| Linux | giflib-debuginfo amzn 2023 | 5.2.1-9.amzn2023.0.2 | [ALAS2023-2025-1220](https://patchblox.com/security/data/fix/linux/alas2023-2025-1220.md) | Oct 14, 2025 |
| Linux | giflib-debugsource amzn 2023 | 5.2.1-9.amzn2023.0.2 | [ALAS2023-2025-1220](https://patchblox.com/security/data/fix/linux/alas2023-2025-1220.md) | Oct 14, 2025 |
| Linux | giflib-devel amzn 2023 | 5.2.1-9.amzn2023.0.2 | [ALAS2023-2025-1220](https://patchblox.com/security/data/fix/linux/alas2023-2025-1220.md) | Oct 14, 2025 |
| Linux | giflib-utils amzn 2023 | 5.2.1-9.amzn2023.0.2 | [ALAS2023-2025-1220](https://patchblox.com/security/data/fix/linux/alas2023-2025-1220.md) | Oct 14, 2025 |
| Linux | giflib-utils-debuginfo amzn 2023 | 5.2.1-9.amzn2023.0.2 | [ALAS2023-2025-1220](https://patchblox.com/security/data/fix/linux/alas2023-2025-1220.md) | Oct 14, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
