Home / QuickJS / QuickJS / CVE-2025-62493
CVE-2025-62493: is it exploited, and which versions of QuickJS are affected and fixed?
CVE-2025-62493 is an out-of-bounds read vulnerability in QuickJS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 20:09 UTC). Affected: QuickJS from 2025-04-26 before 2025-09-13 (CVE record by Google). Fixed in 2025-09-13 (CVE record by Google). Severity: Medium (5.9, CVSS 4.0, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 20:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-62493?
Heap out-of-bounds read in js_bigint_to_string1 in QuickJS
A vulnerability exists in the QuickJS engine's BigInt string conversion logic (js_bigint_to_string1) due to an incorrect calculation of the required number of digits, which in turn leads to reading memory past the allocated BigInt structure. * The function determines the number of characters (n_digits) needed for the string representation by calculating: $$ \\ \text{n\_digits} = (\text{n\_bits} + \text{log2\_radix} - 1) / \text{log2\_radix}$$ $$$$This formula is off-by-one in certain edge cases when calculating the necessary memory limbs. For instance, a 127-bit BigInt using radix 32 (where $\text{log2\_radix}=5$) is calculated to need $\text{n\_digits}=26$. * The maximum number of bits actually stored is $\text{n\_bits}=127$, which requires only two 64-bit limbs ($\text{JS\_LIMB\_BITS}=64$). * The conversion loop iterates $\text{n\_digits}=26$ times, attempting to read 5 bits in each iteration, totaling $26 \times 5 = 130$ bits. * In the final iterations of the loop, the code attempts to read data that spans two limbs: C c = (r->tab[pos] >> shift) | (r->tab[pos + 1] << (JS_LIMB_BITS - shift)); * Since the BigInt was only allocated two limbs, the read operation for r->tab[pos + 1] becomes an Out-of-Bounds Read when pos points to the last valid limb (e.g., $pos=1$). This vulnerability allows an attacker to cause the engine to read and process data from the memory immediately following the BigInt buffer. This can lead to Information Disclosure of sensitive data stored on the heap adjacent to the BigInt object.
From the CVE record by Google, last updated October 16, 2025, 17:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| QuickJS | QuickJS js_bigint_to_string1 | from 2025-04-26 before 2025-09-13 | 2025-09-13 |
As the CVE record by Google states it, last updated October 16, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| quickjs project | quickjs | before 2025-09-13 | application |
NVD analysis (status Analyzed), last modified October 19, 2026, 16:10 UTC.
How severe is CVE-2025-62493?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L | |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-62493 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 16, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
Who found and reported it?
- Google Big Sleep (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 15, 2025
- Published
- October 16, 2025, 15:51 UTC
- CVE record updated
- October 16, 2025, 17:59 UTC by Google
- NVD
- Analyzed, last modified October 19, 2026, 16:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 20:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect QuickJS?
- Nov 5, 2025CVE-2025-12745 QuickJS: buffer Over-read
- Oct 16, 2025CVE-2025-62496 QuickJS: integer overflow
- Oct 16, 2025CVE-2025-62495 QuickJS: integer underflow
- Oct 16, 2025CVE-2025-62494 QuickJS: incorrect type conversion
- Oct 16, 2025CVE-2025-62492 QuickJS: out-of-bounds read
- Oct 16, 2025CVE-2025-62491 QuickJS: use after free
- Oct 16, 2025CVE-2025-62490 QuickJS: use after free
Questions about CVE-2025-62493
Is CVE-2025-62493 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 20:09 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of QuickJS are affected by CVE-2025-62493?
QuickJS from 2025-04-26 before 2025-09-13, per the CVE record by Google. The tables above give every range the sources list.
Which version fixes CVE-2025-62493?
2025-09-13, per the CVE record by Google. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-62493?
Medium (5.9, CVSS 4.0, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2025-62493?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.