CVE-2017-16669
Publication date 9 November 2017
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
coders/wpg.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted file, related to the AcquireCacheNexus function in magick/pixel_cache.c.
From the Ubuntu Security Team
It was discovered that GraphicsMagick incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| graphicsmagick | 22.04 LTS jammy | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 20.04 LTS focal | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Fixed 1.3.23-1ubuntu0.5 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Fixed 1.3.18-1ubuntu3.1+esm5 
                                
                                   
                             |      
                          
                            
                          
                        
                      
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 trialPatch details
| Package | Patch details | 
|---|---|
| graphicsmagick | 
                        
  | 
                    
Severity 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-4248-1
 - GraphicsMagick vulnerabilities
 - 22 January 2020
 
Other references
- https://sourceforge.net/p/graphicsmagick/bugs/450/
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/135bdcb88b8d
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/1b9e64a8901e
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/2a21cda3145b
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/2b7c826d36af
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/3dc7b4e3779d
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/75245a215fff
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/e8086faa52d0
 - http://hg.code.sf.net/p/graphicsmagick/code/rev/fcd3ed3394f6
 - https://www.cve.org/CVERecord?id=CVE-2017-16669