Vulnerability Details CVE-2025-62490
                In quickjs, in js_print_object, when printing an array, the function first fetches the array length and then loops over it. The issue is, printing a value is not side-effect free. An attacker-defined callback could run during js_print_value, during which the array could get resized and len1 become out of bounds. This results in a use-after-free.A second instance occurs in the same function during printing of a map or set objects. The code iterates over ms->records list, but once again, elements could be removed from the list during js_print_value call.
                
                    Exploit prediction scoring system (EPSS) score
                    
                        
                            EPSS Score 0.0
                        
                    
                    
                        
                            EPSS Ranking 4.1%
                        
                    
                 
                
                    CVSS Severity
                    
                        
                            CVSS v3 Score 8.8
                        
                    
                    
                 
                
                
                
                    
                
                
                    
                        Products affected by CVE-2025-62490
                        
                            
                                
                                - 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:-
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-07-09
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-07-21
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-07-28
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-08-10
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-08-18
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-09-01
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-09-18
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-10-27
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2019-12-21
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-01-05
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-01-19
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-03-16
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-04-12
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-07-05
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-09-06
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2020-11-08
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2021-03-27
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2022-03-06
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2023-12-09
                                         
 
- 
                                    
                                    
                                        
                                            cpe:2.3:a:quickjs_project:quickjs:2024-01-13