{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20240.json"
      }
    ],
    "title": "gdk-pixbuf: integer wraparound in the GIF loader of gdk-pixbuf via crafted input leads to segmentation fault",
    "tracking": {
      "current_release_date": "2026-11-26T13:13:41+00:00",
      "generator": {
        "date": "2026-11-26T13:13:41+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.9"
        }
      },
      "id": "CVE-2021-20240",
      "initial_release_date": "2021-01-19T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-01-19T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-02-02T07:28:11.015271+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-26T13:13:41+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8",
                "product": {
                  "name": "Red Hat Enterprise Linux 8",
                  "product_id": "red_hat_enterprise_linux_8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 9",
                "product": {
                  "name": "Red Hat Enterprise Linux 9",
                  "product_id": "red_hat_enterprise_linux_9",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:9"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 9"
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2",
            "product": {
              "name": "gdk-pixbuf2",
              "product_id": "gdk-pixbuf2",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2"
              }
            }
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2-devel",
            "product": {
              "name": "gdk-pixbuf2-devel",
              "product_id": "gdk-pixbuf2-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2.src",
            "product": {
              "name": "gdk-pixbuf2.src",
              "product_id": "gdk-pixbuf2.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2-tests",
            "product": {
              "name": "gdk-pixbuf2-tests",
              "product_id": "gdk-pixbuf2-tests",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2-tests"
              }
            }
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2-xlib-devel",
            "product": {
              "name": "gdk-pixbuf2-xlib-devel",
              "product_id": "gdk-pixbuf2-xlib-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2-xlib-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2-modules",
            "product": {
              "name": "gdk-pixbuf2-modules",
              "product_id": "gdk-pixbuf2-modules",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2-modules"
              }
            }
          },
          {
            "category": "product_version",
            "name": "gdk-pixbuf2-xlib",
            "product": {
              "name": "gdk-pixbuf2-xlib",
              "product_id": "gdk-pixbuf2-xlib",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/gdk-pixbuf2-xlib"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2 as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:gdk-pixbuf2"
        },
        "product_reference": "gdk-pixbuf2",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:gdk-pixbuf2-devel"
        },
        "product_reference": "gdk-pixbuf2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:gdk-pixbuf2.src"
        },
        "product_reference": "gdk-pixbuf2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2 as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:gdk-pixbuf2"
        },
        "product_reference": "gdk-pixbuf2",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-devel as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:gdk-pixbuf2-devel"
        },
        "product_reference": "gdk-pixbuf2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-tests as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:gdk-pixbuf2-tests"
        },
        "product_reference": "gdk-pixbuf2-tests",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:gdk-pixbuf2.src"
        },
        "product_reference": "gdk-pixbuf2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2 as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:gdk-pixbuf2"
        },
        "product_reference": "gdk-pixbuf2",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-devel as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:gdk-pixbuf2-devel"
        },
        "product_reference": "gdk-pixbuf2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-modules as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:gdk-pixbuf2-modules"
        },
        "product_reference": "gdk-pixbuf2-modules",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-xlib as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib"
        },
        "product_reference": "gdk-pixbuf2-xlib",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-xlib-devel as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib-devel"
        },
        "product_reference": "gdk-pixbuf2-xlib-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2.src as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:gdk-pixbuf2.src"
        },
        "product_reference": "gdk-pixbuf2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2 as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:gdk-pixbuf2"
        },
        "product_reference": "gdk-pixbuf2",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-devel as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:gdk-pixbuf2-devel"
        },
        "product_reference": "gdk-pixbuf2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2-modules as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:gdk-pixbuf2-modules"
        },
        "product_reference": "gdk-pixbuf2-modules",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gdk-pixbuf2.src as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:gdk-pixbuf2.src"
        },
        "product_reference": "gdk-pixbuf2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-20240",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "discovery_date": "2021-01-19T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_6:gdk-pixbuf2",
            "red_hat_enterprise_linux_6:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_6:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_7:gdk-pixbuf2",
            "red_hat_enterprise_linux_7:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_7:gdk-pixbuf2-tests",
            "red_hat_enterprise_linux_7:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_8:gdk-pixbuf2",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-modules",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib-devel",
            "red_hat_enterprise_linux_8:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_9:gdk-pixbuf2",
            "red_hat_enterprise_linux_9:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_9:gdk-pixbuf2-modules",
            "red_hat_enterprise_linux_9:gdk-pixbuf2.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1926787"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in gdk-pixbuf. 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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "gdk-pixbuf: integer wraparound in the GIF loader of gdk-pixbuf via crafted input leads to segmentation fault",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This issue did not affect the versions of gdk-pixbuf2 as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they did not include the vulnerable code.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_6:gdk-pixbuf2",
          "red_hat_enterprise_linux_6:gdk-pixbuf2-devel",
          "red_hat_enterprise_linux_6:gdk-pixbuf2.src",
          "red_hat_enterprise_linux_7:gdk-pixbuf2",
          "red_hat_enterprise_linux_7:gdk-pixbuf2-devel",
          "red_hat_enterprise_linux_7:gdk-pixbuf2-tests",
          "red_hat_enterprise_linux_7:gdk-pixbuf2.src",
          "red_hat_enterprise_linux_8:gdk-pixbuf2",
          "red_hat_enterprise_linux_8:gdk-pixbuf2-devel",
          "red_hat_enterprise_linux_8:gdk-pixbuf2-modules",
          "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib",
          "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib-devel",
          "red_hat_enterprise_linux_8:gdk-pixbuf2.src",
          "red_hat_enterprise_linux_9:gdk-pixbuf2",
          "red_hat_enterprise_linux_9:gdk-pixbuf2-devel",
          "red_hat_enterprise_linux_9:gdk-pixbuf2-modules",
          "red_hat_enterprise_linux_9:gdk-pixbuf2.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-20240"
        },
        {
          "category": "external",
          "summary": "RHBZ#1926787",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1926787"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-20240",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-20240"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-20240",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20240"
        }
      ],
      "release_date": "2021-01-19T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "red_hat_enterprise_linux_6:gdk-pixbuf2",
            "red_hat_enterprise_linux_6:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_6:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_7:gdk-pixbuf2",
            "red_hat_enterprise_linux_7:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_7:gdk-pixbuf2-tests",
            "red_hat_enterprise_linux_7:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_8:gdk-pixbuf2",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-modules",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib-devel",
            "red_hat_enterprise_linux_8:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_9:gdk-pixbuf2",
            "red_hat_enterprise_linux_9:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_9:gdk-pixbuf2-modules",
            "red_hat_enterprise_linux_9:gdk-pixbuf2.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important",
          "product_ids": [
            "red_hat_enterprise_linux_6:gdk-pixbuf2",
            "red_hat_enterprise_linux_6:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_6:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_7:gdk-pixbuf2",
            "red_hat_enterprise_linux_7:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_7:gdk-pixbuf2-tests",
            "red_hat_enterprise_linux_7:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_8:gdk-pixbuf2",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-modules",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib",
            "red_hat_enterprise_linux_8:gdk-pixbuf2-xlib-devel",
            "red_hat_enterprise_linux_8:gdk-pixbuf2.src",
            "red_hat_enterprise_linux_9:gdk-pixbuf2",
            "red_hat_enterprise_linux_9:gdk-pixbuf2-devel",
            "red_hat_enterprise_linux_9:gdk-pixbuf2-modules",
            "red_hat_enterprise_linux_9:gdk-pixbuf2.src"
          ]
        }
      ],
      "title": "gdk-pixbuf: integer wraparound in the GIF loader of gdk-pixbuf via crafted input leads to segmentation fault"
    }
  ]
}