CVE-2024-27354
Publication date 1 March 2024
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| php-phpseclib | 25.10 questing | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 2.0.36-1ubuntu0.1~esm2 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Fixed 2.0.23-2ubuntu0.1~esm2 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Fixed 2.0.9-1ubuntu0.1~esm2 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Fixed 2.0.1-1ubuntu0.1~esm2 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | Not in release | |
| php-phpseclib3 | 25.10 questing | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 3.0.13-1ubuntu0.1~esm1 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| phpseclib | 25.10 questing | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      
| 25.04 plucky | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 24.04 LTS noble | 
                              
                               
                                Not affected 
                                
                               
                             |      
                          
                            
                          
                        
                      |
| 22.04 LTS jammy | 
                              
                               
                                Fixed 1.0.20-1ubuntu0.1~esm1 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 20.04 LTS focal | 
                              
                               
                                Fixed 1.0.18-2ubuntu0.1~esm1 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 18.04 LTS bionic | 
                              
                               
                                Fixed 1.0.9-1ubuntu0.1~esm1 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 16.04 LTS xenial | 
                              
                               
                                Fixed 1.0.1-3ubuntu0.1+esm1 
                                
                                   
                             |      
                          
                            
                          
                        
                      |
| 14.04 LTS trusty | Ignored end of standard support | 
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 | None | 
| Scope | Unchanged | 
| Confidentiality | None | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-7404-1
 - phpseclib vulnerabilities
 - 2 April 2025