CVEfocus › CVE database › CVE-2021-40633

CVE-2021-40633

CVSS 8.8 HighEPSS 1.7% (higher than 78% of CVEs)Published 2022-06-14Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
2Fix pending
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04giflibNot affected
vulnerable_code_not_present
Ubuntu 22.04giflibFixed5.1.9-2ubuntu0.1UBUNTU-CVE-2021-40633
Ubuntu 20.04giflibFixed5.1.9-1ubuntu0.1UBUNTU-CVE-2021-40633
Ubuntu 18.04giflibFix pending5.1.4-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-40633
Ubuntu 16.04giflibFix pending5.1.4-0.3~16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-40633
Debian 14giflibFixed5.2.2-1DEBIAN-CVE-2021-40633
Debian 13giflibFixed5.2.2-1DEBIAN-CVE-2021-40633
Debian 12giflibWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-40633
Alpine Linux 3.24giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.23giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.22giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.21giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.20giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.19giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.18giflibFixed5.2.2-r0ALPINE-CVE-2021-40633
Alpine Linux 3.17giflibFixed5.2.2-r0ALPINE-CVE-2021-40633

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.