CVE-2025-5914
Publication date 9 June 2025
Last updated 14 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| libarchive | 25.10 questing | 
                              
                               
                                Fixed 3.7.7-0ubuntu3 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Fixed 3.7.7-0ubuntu2.3 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | 
                              
                               
                                Fixed 3.7.2-2ubuntu0.5 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 3.6.0-1ubuntu1.5 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Vulnerable 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Vulnerable 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Vulnerable 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Vulnerable 
                                
                               
                             |      
                          
                            
                          
                        
                      
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score | 
                      
                      
                         | 
                  
| Attack vector | Local | 
| Attack complexity | Low | 
| Privileges required | Low | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-7601-1
 - libarchive vulnerabilities
 - 26 June 2025
 
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-5914
 - https://github.com/libarchive/libarchive/pull/2598
 - https://access.redhat.com/security/cve/CVE-2025-5914
 - https://bugzilla.redhat.com/show_bug.cgi?id=2370861
 - https://github.com/libarchive/libarchive/releases/tag/v3.8.0
 - https://github.com/libarchive/libarchive/pull/2598/commits/196029dd0a17cd17c916eada9085839032b76ec9