Skip to content
OpenAdvisories
Critical · 10.0 CVE-2021-40401 EUVD-2021-27578GHSA-x68j-pwcm-v888

A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd…

Published Feb 4, 2022 · Updated Apr 15, 2025 · Assigned by talos

Description

A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Affected products

VendorProductAffectedFixed
— Gerbv Gerbv 2.7.0 ,Gerbv forked 2.7.1 ,Gerbv dev (commit b5f1eacd) —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 gerbv 2.9.2-1 —
Debian 12 gerbv 2.9.2-1 —
Debian 11 gerbv 2.7.0-2+deb11u2 DSA-5306-1
Debian 10 gerbv 2.7.0-1+deb10u2 DLA-3210-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS gerbv 2.7.0-1ubuntu0.1 USN-6209-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS gerbv 2.8.2-1ubuntu0.1~esm1 USN-6209-1
Ubuntu Pro 18.04 LTS gerbv 2.6.1-3ubuntu0.1~esm1 USN-6209-1
Ubuntu Pro 16.04 LTS gerbv 2.6.0-1ubuntu0.16.04.1~esm1 USN-6209-1
Ubuntu Pro 14.04 LTS gerbv 2.6.0-1ubuntu0.14.04.1~esm1 USN-6209-1

Advisories 3

References