# CVE-2021-20240: A flaw was found in gdk-pixbuf in versions before 2.42.0.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.97%, higher than 80% of CVEs (2026-12-01)
- Published: 2021-05-28T10:42:35.000Z
- Modified: 2026-06-17T03:33:31.883Z
- Weaknesses: CWE-191
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- gdk-pixbuf: gdk-pixbuf 2.42.0
- gnome gdk-pixbuf: before 2.39.2
- fedoraproject fedora: 33; 34

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 8.3 High `AV:N/AC:M/Au:N/C:P/I:P/A:C`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1926787> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-20240](https://www.cve.org/CVERecord?id=CVE-2021-20240), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20240](https://nvd.nist.gov/vuln/detail/CVE-2021-20240), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20240 · Whole record: https://cve.day/CVE-2021-20240.json · Rebuilt by cve.day 2026-11-25T22:58:01.580Z
