Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-20240

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20240
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:49 UTC · Revision 1

Source evidence

CVE-2021-20240

core-osv · Original source

Published 28 May 2021, 11:15 UTC

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.

osv:CVE-2021-20240
Complete source record
{
  "id": "4e948e56fb9faff9794aef423a1faa36608c2a9270e3c9249aee0b5b87a562fb",
  "url": "https://osv.dev/vulnerability/CVE-2021-20240",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20240",
    "summary": "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.",
    "evidence": "osv:CVE-2021-20240",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-20240",
      "aliases": [
        "CVE-2021-20240"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gnome/gdk-pixbuf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6d29f41c075c78ace42e7c4d27894d0550e466d0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnome:gdk-pixbuf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.39.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.38.0",
            "2.37.92",
            "2.37.0",
            "2.36.12",
            "2.36.11",
            "2.36.10",
            "2.36.9",
            "2.36.8",
            "2.36.7",
            "2.36.6",
            "2.36.5",
            "2.36.4",
            "2.36.3",
            "2.36.2",
            "2.36.1",
            "2.36.0",
            "2.35.5",
            "2.35.4",
            "2.35.3",
            "2.35.2",
            "2.35.1",
            "2.34.0",
            "2.33.2",
            "2.33.1",
            "2.32.1",
            "2.32.0",
            "2.31.7",
            "2.31.6",
            "2.31.5",
            "2.31.4",
            "2.31.3",
            "2.31.2",
            "2.31.1",
            "2.31.0",
            "2.30.8",
            "2.30.7",
            "2.30.6",
            "2.30.5",
            "2.30.4",
            "2.30.3",
            "2.30.2",
            "2.30.1",
            "2.30.0",
            "2.29.3",
            "2.29.2",
            "2.29.1",
            "2.29.0",
            "2.28.0",
            "2.27.3",
            "2.27.2",
            "2.27.1",
            "2.27.0",
            "2.26.5",
            "2.26.4",
            "2.26.3",
            "2.26.2",
            "2.26.1",
            "2.26.0",
            "2.25.2",
            "2.25.0",
            "2.24.0",
            "2.23.5",
            "2.23.4",
            "2.23.3",
            "2.23.2",
            "2.23.1",
            "2.23.0",
            "2.22.1",
            "2.22.0",
            "2.21.7",
            "2.21.6",
            "2.21.4",
            "2.21.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20240.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.gnome.org/gnome/gdk-pixbuf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6d29f41c075c78ace42e7c4d27894d0550e466d0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnome:gdk-pixbuf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.39.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.38.0",
            "2.37.92",
            "2.37.0",
            "2.36.12",
            "2.36.11",
            "2.36.10",
            "2.36.9",
            "2.36.8",
            "2.36.7",
            "2.36.6",
            "2.36.5",
            "2.36.4",
            "2.36.3",
            "2.36.2",
            "2.36.1",
            "2.36.0",
            "2.35.5",
            "2.35.4",
            "2.35.3",
            "2.35.2",
            "2.35.1",
            "2.34.0",
            "2.33.2",
            "2.33.1",
            "2.32.1",
            "2.32.0",
            "2.31.7",
            "2.31.6",
            "2.31.5",
            "2.31.4",
            "2.31.3",
            "2.31.2",
            "2.31.1",
            "2.31.0",
            "2.30.8",
            "2.30.7",
            "2.30.6",
            "2.30.5",
            "2.30.4",
            "2.30.3",
            "2.30.2",
            "2.30.1",
            "2.30.0",
            "2.29.3",
            "2.29.2",
            "2.29.1",
            "2.29.0",
            "2.28.0",
            "2.27.3",
            "2.27.2",
            "2.27.1",
            "2.27.0",
            "2.26.5",
            "2.26.4",
            "2.26.3",
            "2.26.2",
            "2.26.1",
            "2.26.0",
            "2.25.2",
            "2.25.0",
            "2.24.0",
            "2.23.5",
            "2.23.4",
            "2.23.3",
            "2.23.2",
            "2.23.1",
            "2.23.0",
            "2.22.1",
            "2.22.0",
            "2.21.7",
            "2.21.6",
            "2.21.4",
            "2.21.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20240.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:58.932408505Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1926787"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-20240",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439198,
  "published_at": "2021-05-28T11:15:08.037+00:00"
}