
CVE catalog
CVE-2025-31344
giflib: CVE-2025-31344
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | giflib | sid | 6.1.3-1 | fixed |
| Debian | giflib | forky | 6.1.3-1 | fixed |
| Debian | giflib | trixie | 5.2.2-1+deb13u1 | vulnerable |
| Debian | giflib | bookworm | 5.2.1-2.5+deb12u1 | vulnerable |
| Alpine | giflib | 3.21 | 5.2.2-r1 | fixed |
| Alpine | giflib | 3.22 | 5.2.2-r1 | fixed |
| Alpine | giflib | 3.23 | 5.2.2-r1 | fixed |
| Alpine | giflib | 3.24 | 5.2.2-r1 | fixed |
| Suse | giflib | linux enterprise server 12 sp5-ltss | 5.0.5-13.9.1 | fixed |
| Suse | giflib | linux enterprise server ltss extended security 12 sp5 | 5.0.5-13.9.1 | fixed |
| Suse | giflib | linux enterprise module for basesystem 15 sp6 | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp3-ltss | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp4-espos | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp4-ltss | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp5-espos | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp5-ltss | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise server 15 sp3-ltss | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise server 15 sp4-ltss | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise server 15 sp5-ltss | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 15 sp3 | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 15 sp4 | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 15 sp5 | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | manager proxy 4.3 | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | manager server 4.3 | 5.2.2-150000.4.16.1 | fixed |
| Suse | giflib | enterprise storage 7.1 | 5.2.2-150000.4.16.1 | fixed |
| Opensuse | giflib | leap 15.6 | 5.2.2-150000.4.16.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | giflib | source | sid | 6.1.3-1 | unimportant | Not reported | [1102520] |
| Debian | giflib | source | forky | 6.1.3-1 | unimportant | Not reported | [1102520] |
| Debian | giflib | source | trixie | (unfixed) | unimportant | Not reported | [1102520] |
| Debian | giflib | source | bookworm | (unfixed) | unimportant | Not reported | [1102520] |
| Alpine | giflib | apk | 3.21 | 5.2.2-r1 | Not reported | ALPINE-CVE-2025-31344 | Not reported |
| Alpine | giflib | apk | 3.22 | 5.2.2-r1 | Not reported | ALPINE-CVE-2025-31344 | Not reported |
| Alpine | giflib | apk | 3.23 | 5.2.2-r1 | Not reported | ALPINE-CVE-2025-31344 | Not reported |
| Alpine | giflib | apk | 3.24 | 5.2.2-r1 | Not reported | ALPINE-CVE-2025-31344 | Not reported |
| Suse | giflib | rpm | linux enterprise server 12 sp5-ltss | 5.0.5-13.9.1 | Not reported | SUSE-SU-2025:1163-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server ltss extended security 12 sp5 | 5.0.5-13.9.1 | Not reported | SUSE-SU-2025:1163-1 | Not reported |
| Suse | giflib | rpm | linux enterprise module for basesystem 15 sp6 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp3-ltss | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp4-espos | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp4-ltss | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp5-espos | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp5-ltss | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 15 sp3-ltss | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 15 sp4-ltss | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 15 sp5-ltss | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 15 sp3 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 15 sp4 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 15 sp5 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | manager proxy 4.3 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | manager server 4.3 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Suse | giflib | rpm | enterprise storage 7.1 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
| Opensuse | giflib | rpm | leap 15.6 | 5.2.2-150000.4.16.1 | Not reported | SUSE-SU-2025:1164-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [giflib-tools]Affected
Source package: [giflib]
Details (2)
5.2.1-2.5+deb12u1· amd64 · bookwormAffected
dsa · giflib · debian · bookworm; dsa · giflib · debian · 12
5.2.1-2.5+deb12u1· arm64 · bookwormAffected
dsa · giflib · debian · bookworm; dsa · giflib · debian · 12
- [libgif7]Affected
Source package: [giflib]
Details (2)
5.2.1-2.5+deb12u1· amd64 · bookwormAffected
dsa · giflib · debian · bookworm; dsa · giflib · debian · 12
5.2.1-2.5+deb12u1· arm64 · bookwormAffected
dsa · giflib · debian · bookworm; dsa · giflib · debian · 12
- [libgif-dev]Affected
Source package: [giflib]
Details (2)
5.2.1-2.5+deb12u1· amd64 · bookwormAffected
dsa · giflib · debian · bookworm; dsa · giflib · debian · 12
5.2.1-2.5+deb12u1· arm64 · bookwormAffected
dsa · giflib · debian · bookworm; dsa · giflib · debian · 12
[Debian 13 (Trixie)]
- [giflib-tools]Affected
Source package: [giflib]
Details (2)
5.2.2-1+deb13u1· amd64 · trixieAffected
dsa · giflib · debian · 13
5.2.2-1+deb13u1· arm64 · trixieAffected
dsa · giflib · debian · 13
- [libgif7]Affected
Source package: [giflib]
Details (2)
5.2.2-1+deb13u1· amd64 · trixieAffected
dsa · giflib · debian · 13
5.2.2-1+deb13u1· arm64 · trixieAffected
dsa · giflib · debian · 13
- [libgif-dev]Affected
Source package: [giflib]
Details (2)
5.2.2-1+deb13u1· amd64 · trixieAffected
dsa · giflib · debian · 13
5.2.2-1+deb13u1· arm64 · trixieAffected
dsa · giflib · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_1163-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-31344]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-31344]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1163-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1164-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-31344]
- [https://security-tracker.debian.org/tracker/CVE-2025-31344]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-31344.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]