CVE-2019-5051
Publication date 3 July 2019
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
From the Ubuntu Security Team
USN-4238-1 addressed serveral vulnerabilities in SDL_image. This update provides the corresponding fixes for Ubuntu 14.04 ESM.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| libsdl2-image | 25.10 questing | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Vulnerable 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Vulnerable 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Fixed 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| sdl-image1.2 | 25.10 questing | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Fixed 1.2.12-8ubuntu0.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Fixed 1.2.12-5+deb9u1ubuntu0.16.04.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Fixed 1.2.12-5+deb9u1ubuntu0.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 | Required | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-4238-1
 - SDL_image vulnerabilities
 - 14 January 2020