# CVE-2021-40633

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-06-14 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2021-40633, UBUNTU-CVE-2021-40633, DEBIAN-CVE-2021-40633
- Record: https://cvemate.com/vulnerability/CVE-2021-40633 · JSON: https://cvemate.com/vulnerability/CVE-2021-40633/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.717%, percentile 78.238%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine giflib (Alpine Linux): \< 5.2.2-r0
- debian giflib (Debian): All versions (No fix recorded) \| \< 5.2.2-1
- ubuntu giflib (Ubuntu): \< 5.1.4-0.3~16.04.1+esm1 \| \< 5.1.4-2ubuntu0.1+esm1 \| \< 5.1.9-1ubuntu0.1 \| \< 5.1.9-2ubuntu0.1
- giflib\_project giflib: 5.1.4

## References

- <https://sourceforge.net/p/giflib/bugs/157/>
- <https://security.alpinelinux.org/vuln/CVE-2021-40633>
- <https://ubuntu.com/security/CVE-2021-40633>
- <https://www.cve.org/CVERecord?id=CVE-2021-40633>
- <https://ubuntu.com/security/notices/USN-6824-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-40633>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40633>

---

Data as of 2026-12-05T04:51:24.857Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
