CVE-2016-4072
Publication date 25 April 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a crafted filename, as demonstrated by mishandling of \0 characters by the phar_analyze_path function in ext/phar/phar.c.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| php7.0 | 16.04 LTS xenial | 
                              
                               
                                Fixed 7.0.4-7ubuntu2.1 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 14.04 LTS trusty | Not in release | |
| php5 | 16.04 LTS xenial | Not in release | 
| 14.04 LTS trusty | 
                              
                               
                                Fixed 5.5.9+dfsg-1ubuntu4.16 
                                
                               
                             |      
                          
                            
                          
                        
                      |
Patch details
| Package | Patch details | 
|---|---|
| php7.0 | |
| php5 | 
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score | 
                      
                      
                         | 
                  
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-2984-1
 - PHP vulnerabilities
 - 24 May 2016