CVE-2021-20240: Integer Underflow

Published Feb 9, 2021
·
Updated

A flaw was found in gdk-pixbuf in versions before 2.42.0. An integer wraparound leading to an out of bounds write can occur when a crafted GIF image is loaded. An attacker may cause applications to crash or could potentially execute code on the victim system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

An integer wraparound bug was found in the GIF loader of gdk-pixbuf. Given a crafted input, it will abort with a segmentation fault.

Reference:

https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/132

Red Hat

Affected Software

5 affected componentsFixes available
redhat/gdk-pixbuf<2.42.0
2.42.0
Gnome GDK-PixBuf<2.39.2
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Gnome GDK-PixBuf<2.42.0

Event History

May 28, 2021
CVE Published
via MITRE·10:42 AM
Data Sourced
via MITRE·10:42 AM
DescriptionWeakness
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
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-20240?

CVE-2021-20240 is a vulnerability in gdk-pixbuf that can lead to an out-of-bounds write and potential code execution when loading a crafted GIF image.

2

What is the severity of CVE-2021-20240?

CVE-2021-20240 has a severity rating of 8.8 (high).

3

How does CVE-2021-20240 affect GNOME gdk-pixbuf?

CVE-2021-20240 affects GNOME gdk-pixbuf versions before 2.42.0.

4

How does CVE-2021-20240 impact Fedora?

Fedora versions 33 and 34 are affected by CVE-2021-20240.

5

How can I fix CVE-2021-20240?

To fix CVE-2021-20240, update gdk-pixbuf to version 2.42.0 or later.

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