{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "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 Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/oraclelinux6els/vex/2021/cve-2021-40812-els_os-oraclelinux6els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-06-13T02:28:42Z",
      "generator": {
        "date": "2026-06-13T02:28:42Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2021-40812-ELS_OS-ORACLELINUX6ELS",
      "initial_release_date": "2021-09-08T21:15:00Z",
      "revision_history": [
        {
          "date": "2021-09-08T21:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-11-29T11:18:03Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-12-23T22:15:38Z",
          "number": "3",
          "summary": "Update document"
        },
        {
          "date": "2026-06-13T02:28:42Z",
          "number": "4",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "4"
    },
    "title": "Security update on CVE-2021-40812"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Oracle Linux 6",
                "product": {
                  "name": "Oracle Linux 6",
                  "product_id": "Oracle-Linux-6",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Oracle Linux"
          }
        ],
        "category": "vendor",
        "name": "Oracle Corporation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
                "product": {
                  "name": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
                  "product_id": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/gd-devel@2.0.35-12.el6.cloudlinux.els?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                "product": {
                  "name": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                  "product_id": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/gd-devel@2.0.35-12.el6.cloudlinux.els?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gd-0:2.0.35-12.el6.cloudlinux.els.i686",
                "product": {
                  "name": "gd-0:2.0.35-12.el6.cloudlinux.els.i686",
                  "product_id": "gd-0:2.0.35-12.el6.cloudlinux.els.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/gd@2.0.35-12.el6.cloudlinux.els?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                "product": {
                  "name": "gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                  "product_id": "gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/gd@2.0.35-12.el6.cloudlinux.els?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                "product": {
                  "name": "gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                  "product_id": "gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/gd-progs@2.0.35-12.el6.cloudlinux.els?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "CloudLinux"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686 as a component of Oracle Linux 6",
          "product_id": "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686"
        },
        "product_reference": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
        "relates_to_product_reference": "Oracle-Linux-6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64 as a component of Oracle Linux 6",
          "product_id": "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64"
        },
        "product_reference": "gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
        "relates_to_product_reference": "Oracle-Linux-6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gd-0:2.0.35-12.el6.cloudlinux.els.i686 as a component of Oracle Linux 6",
          "product_id": "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.i686"
        },
        "product_reference": "gd-0:2.0.35-12.el6.cloudlinux.els.i686",
        "relates_to_product_reference": "Oracle-Linux-6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gd-0:2.0.35-12.el6.cloudlinux.els.x86_64 as a component of Oracle Linux 6",
          "product_id": "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.x86_64"
        },
        "product_reference": "gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
        "relates_to_product_reference": "Oracle-Linux-6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64 as a component of Oracle Linux 6",
          "product_id": "Oracle-Linux-6:gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64"
        },
        "product_reference": "gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64",
        "relates_to_product_reference": "Oracle-Linux-6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-40812",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "notes": [
        {
          "category": "description",
          "text": "The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.",
          "title": "Vulnerability description"
        },
        {
          "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"
        },
        {
          "category": "other",
          "text": "TuxCare has assessed that this vulnerability does not impact any currently supported TuxCare products. This evaluation may change as new information becomes available. For additional details regarding this vulnerability and affected products, refer to the provided references.",
          "title": "Statement"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.i686",
          "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
          "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
          "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
          "Oracle-Linux-6:gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2021-40812"
        },
        {
          "category": "external",
          "summary": "https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9",
          "url": "https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9"
        },
        {
          "category": "external",
          "summary": "https://github.com/libgd/libgd/issues/750#issuecomment-914872385",
          "url": "https://github.com/libgd/libgd/issues/750#issuecomment-914872385"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html"
        }
      ],
      "release_date": "2021-09-08T21:15:00Z",
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:N/A:P",
            "version": "2.0"
          },
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.i686",
            "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
            "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
            "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
            "Oracle-Linux-6:gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        },
        {
          "category": "impact",
          "date": "2026-06-12T12:58:14.215838Z",
          "details": "CVE-2021-40812 is only reachable in LibGD’s BMP/WebP encoding paths that use the gdIOCtx I/O callbacks (gdGetBuf/gdPutBuf), and exploitation requires a user to be tricked into opening or converting a crafted image file. In centrally managed Linux server/VM deployments, there is no interactive image-opening workflow and backend services do not invoke these gdImage*Ctx BMP/WebP output routines, so the vulnerable code path is not exposed.",
          "product_ids": [
            "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.i686",
            "Oracle-Linux-6:gd-0:2.0.35-12.el6.cloudlinux.els.x86_64",
            "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.i686",
            "Oracle-Linux-6:gd-devel-0:2.0.35-12.el6.cloudlinux.els.x86_64",
            "Oracle-Linux-6:gd-progs-0:2.0.35-12.el6.cloudlinux.els.x86_64"
          ]
        }
      ]
    }
  ]
}