CVE-2021-4156
Publication date 23 March 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash but could potentially leak memory information that could be used in further exploitation of other flaws.
Why is this CVE low priority?
This only results in a DoS when reading a FLAC file
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| libsndfile | ||
| 24.04 LTS noble | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 1.0.31-2ubuntu0.2 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Fixed 1.0.28-7ubuntu0.3 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Fixed 1.0.28-4ubuntu0.18.04.2+esm2 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Fixed 1.0.25-10ubuntu0.16.04.3+esm2 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Fixed 1.0.25-7ubuntu2.2+esm4 
                                
                                   
                             |      
                          
                            
                          
                        
                      
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 | Required | 
| Scope | Unchanged | 
| Confidentiality | Low | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-5409-1
 - libsndfile vulnerability
 - 10 May 2022
 - USN-7273-1
 - libsndfile vulnerabilities
 - 18 February 2025