CVE-2021-40633: High severity giflib project vulnerability

Published Jun 14, 2022
·
Updated

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.

Affected Software

7 affected componentsFixes available
ubuntu/giflib<5.1.4-2ubuntu0.1+
5.1.4-2ubuntu0.1+
ubuntu/giflib<5.1.9-1ubuntu0.1
5.1.9-1ubuntu0.1
ubuntu/giflib<5.1.9-2ubuntu0.1
5.1.9-2ubuntu0.1
ubuntu/giflib<5.2.1-2.5ubuntu0.1
5.2.1-2.5ubuntu0.1
ubuntu/giflib<5.1.4-0.3~16.04.1+
5.1.4-0.3~16.04.1+
debian/giflib<=5.1.9-2, <=5.2.1-2.5
5.2.2-1
GifLib Project GifLib=5.1.4

Event History

Jun 14, 2022
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
Description
Jun 11, 2024
Data Sourced
via Launchpad·04:16 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-40633?

CVE-2021-40633 is a memory leak vulnerability in gif2rgb in giflib 5.1.4 that can allow remote attackers to trigger an out of memory exception or denial of service via a gif format file.

2

What is the severity of CVE-2021-40633?

CVE-2021-40633 has a severity rating of 8.8, which is considered high.

3

How does CVE-2021-40633 affect giflib?

CVE-2021-40633 affects giflib 5.1.4, causing a memory leak in gif2rgb.

4

How can remote attackers exploit CVE-2021-40633?

Remote attackers can exploit CVE-2021-40633 by sending a specially crafted gif format file to trigger an out of memory exception or denial of service.

5

Is there a fix for CVE-2021-40633?

Yes, updating to a version of giflib that is not affected by the vulnerability (5.1.5 or later) will resolve CVE-2021-40633.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203