CVE-2022-0368
Publication date 26 January 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| vim | ||
| 22.04 LTS jammy | 
                              
                               
                                Fixed 2:8.2.3995-1ubuntu2.7 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Fixed 2:8.1.2269-1ubuntu5.14 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Fixed 2:8.0.1453-1ubuntu1.13 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Fixed 2:7.4.1689-3ubuntu1.5+esm5 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
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 | 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-5458-1
 - Vim vulnerabilities
 - 2 June 2022
 - USN-6026-1
 - Vim vulnerabilities
 - 19 April 2023
 
Other references
- https://huntr.dev/bounties/bca9ce1f-400a-4bf9-9207-3f3187cb3fa9/
 - https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa (v8.2.4217)
 - https://huntr.dev/bounties/bca9ce1f-400a-4bf9-9207-3f3187cb3fa9
 - https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa
 - https://www.cve.org/CVERecord?id=CVE-2022-0368