CVE-2021-40401
Publication date 4 February 2022
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
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 | Low | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H |