{
  "cveId": "CVE-2021-40394",
  "url": "https://patchblox.com/security/cve/CVE-2021-40394",
  "summary": "CVE-2021-40394 is fixed in gerbv on 1 platform, first by DEBIAN-CVE-2021-40394, released December 22, 2021. It is not reported as exploited. Patch Radar priority: Urgent.",
  "title": "gerbv: An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2...",
  "description": "An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit 71493260). A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.",
  "published": "2021-12-22T11:15:00Z",
  "severity": "critical",
  "cvss": 9.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.02989,
  "epssPercentile": 0.87396,
  "priority": "Urgent",
  "priorityTier": 2,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "gerbv",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "2.8.1-1",
      "fix": "DEBIAN-CVE-2021-40394",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-40394",
      "released": "2021-12-22T19:15:11Z"
    },
    {
      "platform": "linux",
      "product": "gerbv",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.8.1-1",
      "fix": "DEBIAN-CVE-2021-40394",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-40394",
      "released": "2021-12-22T19:15:11Z"
    },
    {
      "platform": "linux",
      "product": "gerbv",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.6.1-3ubuntu0.1~esm1",
      "fix": "gerbv 2.6.1-3ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-gerbv-2.6.1-3ubuntu0.1-esm1",
      "released": "2022-04-14T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "gerbv",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.7.0-1ubuntu0.1",
      "fix": "gerbv 2.7.0-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-gerbv-2.7.0-1ubuntu0.1",
      "released": "2022-04-14T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "gerbv",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.8.2-1ubuntu0.1~esm1",
      "fix": "gerbv 2.8.2-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-gerbv-2.8.2-1ubuntu0.1-esm1",
      "released": "2022-04-14T13:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}