---
title: "CVE-2021-40402"
canonical_url: "https://pkgseek.com/security/CVE-2021-40402"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2021-40402

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.

CVE-2021-40402 is rated HIGH (7.5), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | gerbv | 2.10.0-1+b1 | — |
