A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote…
Priority MEDIUM 41CWE-401Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-401.
Summary
A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote attackers trigger an out of memory exception or denial of service via a gif format file.
Why it matters now
EPSS 0.01717 77th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:giflib_project:giflib:5.1.4:*:*:*:*:*:*:* | 5.1.4 | Vulnerable | Giflib Project |
- cpe:2.3:a:giflib_project:giflib:5.1.4:*:*:*:*:*:*:* Versions 5.1.4 Vulnerable ·Giflib Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-40633
- 2026-10-03 Alias added: GHSA-77hm-q3fv-fq9x
References
More Giflib Project Giflib vulnerabilities
- TI-2026-21378 Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a… CVSS 3.1HIGH 8.2
- TI-2024-30864 Giflib Project v5.2.2 is vulnerable to a heap buffer overflow via gif2rgb. CVSS 3.1MEDIUM 6.5
- TI-2023-20770 giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c. CVSS 3.1MEDIUM 5.5
- TI-2016-02665 Multiple use-after-free and double-free vulnerabilities in gifcolor.c in GIFLIB 5.1.2… CVSS 3.0CRITICAL 9.8
- TI-2018-08211 The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as… CVSS 3.1HIGH 8.8
- TI-2018-08210 The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as… CVSS 3.1HIGH 8.8
Sources
- CVE-2021-40633 · CVE Program
- CVE-2021-40633 · NVD
- FIRST EPSS
- GHSA-77hm-q3fv-fq9x · GitHub Advisory Database · CC BY 4.0
- CVE-2021-40633 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences