CVE-2021-40394
Publication date 22 December 2021
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| gerbv | 25.10 questing | 
                                Not affected 
                                
                               | 
| 25.04 plucky | 
                                Not affected 
                                
                               | |
| 24.04 LTS noble | 
                                Not affected 
                                
                               | |
| 22.04 LTS jammy | 
                                Fixed 2.8.2-1ubuntu0.1~esm1 
                                
                                   | |
| 20.04 LTS focal | 
                                Fixed 2.7.0-1ubuntu0.1 
                                
                               | |
| 18.04 LTS bionic | 
                                Fixed 2.6.1-3ubuntu0.1~esm1 
                                
                                   | |
| 16.04 LTS xenial | 
                                Fixed 2.6.0-1ubuntu0.16.04.1~esm1 
                                
                                   | |
| 14.04 LTS trusty | 
                                Fixed 2.6.0-1ubuntu0.14.04.1~esm1 
                                
                                   | 
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Changed | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |