CVE-2017-7246
Publication date 23 March 2017
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 268) or possibly have unspecified other impact via a crafted file.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| pcre3 | 20.04 LTS focal | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 18.04 LTS bionic | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
Notes
mdeslaur
This is actually an issue in the pcretest binary, which we don't ship in Ubuntu same commit as CVE-2017-7245
Patch details
| Package | Patch details | 
|---|---|
| pcre3 | 
Severity 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.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |