Skip to content
OpenAdvisories
Critical · 9.3 CVE-2021-40402 EUVD-2021-27579GHSA-8x52-mcj6-x4gh

An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (…

Published Apr 14, 2022 · Updated Apr 15, 2025 · Assigned by talos

Description

An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.

Affected products

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

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 No fix yet —
Debian 12 gerbv No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gerbv No fix yet —
Ubuntu 26.04 LTS gerbv No fix yet —
Ubuntu 25.10 gerbv No fix yet —
Ubuntu 24.04 LTS gerbv No fix yet —
Ubuntu 20.04 LTS gerbv No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS gerbv No fix yet —
Ubuntu Pro 18.04 LTS gerbv No fix yet —
Ubuntu Pro 16.04 LTS gerbv No fix yet —

References