CVE-2025-8713
Publication date 14 August 2025
Last updated 12 September 2025
Ubuntu priority
Cvss 3 Severity Score
Description
PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| postgresql-17 | 25.10 questing | 
                              
                               
                                Fixed 17.6-1 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Fixed 17.6-0ubuntu0.25.04.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| postgresql-16 | 25.10 questing | Not in release | 
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | 
                              
                               
                                Fixed 16.10-0ubuntu0.24.04.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | Not in release | |
| postgresql-14 | 25.10 questing | Not in release | 
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 14.19-0ubuntu0.22.04.1 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| postgresql-12 | 25.10 questing | Not in release | 
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | 
                              
                               
                                Needs evaluation 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| postgresql-10 | 25.10 questing | Not in release | 
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 18.04 LTS bionic | 
                              
                               
                                Needs evaluation 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| postgresql-9.5 | 25.10 questing | Not in release | 
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 16.04 LTS xenial | 
                              
                               
                                Needs evaluation 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| postgresql-9.3 | 25.10 questing | Not in release | 
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 14.04 LTS trusty | 
                              
                               
                                Vulnerable, fix deferred 
                                
                               
                             |      
                          
                            
                          
                        
                      
Notes
leosilva
PostgreSQL 9.3 is end of life upstream, and no updates are are available. Marking as deferred in -esm-main releases.
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score | 
                      
                      
                         | 
                  
| Attack vector | Network | 
| Attack complexity | High | 
| Privileges required | Low | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | Low | 
| Integrity impact | None | 
| Availability impact | None | 
| Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | 
References
Related Ubuntu Security Notices (USN)
- USN-7741-1
 - PostgreSQL vulnerabilities
 - 8 September 2025