{
  "cveId": "CVE-2021-40812",
  "url": "https://patchblox.com/security/cve/CVE-2021-40812",
  "summary": "CVE-2021-40812 is fixed in 2 products on 1 platform, first by libgd-tools 2.2.5-4ubuntu0.5\u002Besm3, released September 8, 2021. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libgd-tools: The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf a...",
  "description": "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.",
  "published": "2021-09-08T14:15:00Z",
  "severity": "Low",
  "epss": 0.01659,
  "epssPercentile": 0.76806,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libgd-tools",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.5-4ubuntu0.5\u002Besm3",
      "fix": "libgd-tools 2.2.5-4ubuntu0.5\u002Besm3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libgd-tools-2.2.5-4ubuntu0.5-esm3",
      "released": "2021-09-08T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libgd-tools",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.5-5.2ubuntu2.4",
      "fix": "libgd-tools 2.2.5-5.2ubuntu2.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libgd-tools-2.2.5-5.2ubuntu2.4",
      "released": "2021-09-08T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libgd-tools",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.3.0-2ubuntu2.3",
      "fix": "libgd-tools 2.3.0-2ubuntu2.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgd-tools-2.3.0-2ubuntu2.3",
      "released": "2021-09-08T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libgd3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.5-4ubuntu0.5\u002Besm3",
      "fix": "libgd3 2.2.5-4ubuntu0.5\u002Besm3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libgd3-2.2.5-4ubuntu0.5-esm3",
      "released": "2021-09-08T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libgd3",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.5-5.2ubuntu2.4",
      "fix": "libgd3 2.2.5-5.2ubuntu2.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libgd3-2.2.5-5.2ubuntu2.4",
      "released": "2021-09-08T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libgd3",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.3.0-2ubuntu2.3",
      "fix": "libgd3 2.3.0-2ubuntu2.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgd3-2.3.0-2ubuntu2.3",
      "released": "2021-09-08T14:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T13:31:49Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}