CVE catalog

CVE-2021-40393

gerbv: CVE-2021-40393

[CVE catalog]

Severity
Critical · CVSS 10CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.14% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangerbvsid2.10.0-2fixed
Debiangerbvtrixie2.10.0-1fixed
Debiangerbvbookworm2.9.6-1fixed
Ubuntugerbvpro2.7.0-2vulnerable
Ubuntugerbvpro2.7.1-1vulnerable
Ubuntugerbvpro2.8.0-1vulnerable
Ubuntugerbvpro2.8.1-1vulnerable
Ubuntugerbvpro2.8.2-1vulnerable
Ubuntugerbvpro2.8.2-1ubuntu0.1~esm1fixed
Ubuntugerbv20.042.7.0-1vulnerable
Ubuntugerbv20.042.7.0-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangerbvsourcesid2.8.2-1not yet assignedNot reportedNot reported
Debiangerbvsourcetrixie2.8.2-1not yet assignedNot reportedNot reported
Debiangerbvsourcebookworm2.8.2-1not yet assignedNot reportedNot reported
Ubuntugerbvdebpro2.8.2-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-40393Not reported
Ubuntugerbvdeb20.042.7.0-1ubuntu0.1Not reportedUBUNTU-CVE-2021-40393Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gerbv]Fixed
    Details (2)
    • 2.9.6-1 · amd64 · bookworm

      Fixed · Fixed: 2.8.2-1

      dsa · gerbv · debian · bookworm; dsa · gerbv · debian · 12

    • 2.9.6-1 · arm64 · bookworm

      Fixed · Fixed: 2.8.2-1

      dsa · gerbv · debian · bookworm; dsa · gerbv · debian · 12

[Debian 13 (Trixie)]

  • [gerbv]Fixed

    Source package: [gerbv]

    Details (2)
    • 2.10.0-1+b1 · amd64 · trixie

      Fixed · Fixed: 2.8.2-1

      dsa · gerbv · debian · 13

    • 2.10.0-1+b2 · arm64 · trixie

      Fixed · Fixed: 2.8.2-1

      dsa · gerbv · debian · 13

Observed:

References