CVE-2025-62491
BaseFortify
Publication date: 2025-10-16
Last updated on: 2025-10-30
Assigner: Google Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| quickjs_project | quickjs | to 2025-09-13 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Use-After-Free (UAF) issue in the QuickJS engine's standard library. It occurs when iterating over the global list of unhandled rejected promises. During iteration, if a promise rejection reason has a custom property getter that executes JavaScript code calling catch() on the same rejected promise, the promise entry is removed and freed from the list. However, the iteration continues using the freed memory pointer, causing a Use-After-Free condition.
How can this vulnerability impact me? :
The Use-After-Free vulnerability can lead to undefined behavior such as crashes, memory corruption, or potentially arbitrary code execution within applications using the QuickJS engine. This can compromise application stability and security, possibly allowing attackers to execute malicious code or cause denial of service.