CVE-2021-30184
Publication date 7 April 2021
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Portable Game Notation) data. This is related to a buffer overflow in the use of a .tmp.epd temporary file in the cmd_pgnload and cmd_pgnreplay functions in frontend/cmd.cc.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| gnuchess | ||
| 24.04 LTS noble | 
                              
                               
                                Fixed 6.2.7-1+deb11u1build0.24.04.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 6.2.7-1+deb11u1build0.22.04.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | Not in release | 
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score | 
                      
                      
                         | 
                  
| Attack vector | Local | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-7336-1
 - GNU Chess vulnerability
 - 6 March 2025