Home / QuickJS / QuickJS / CVE-2025-62495
CVE-2025-62495: is it exploited, and which versions of QuickJS are affected and fixed?
CVE-2025-62495 is an integer underflow 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, 18:39 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: High (7.1, CVSS 4.0, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-62495?
Type confusion in string addition in QuickJS
An integer overflow vulnerability exists in the QuickJS regular expression engine (libregexp) due to an inconsistent representation of the bytecode buffer size. * The regular expression bytecode is stored in a DynBuf structure, which correctly uses a $\text{size}\_\text{t}$ (an unsigned type, typically 64-bit) for its size member. * However, several functions, such as re_emit_op_u32 and other internal parsing routines, incorrectly cast or store this DynBuf $\text{size}\_\text{t}$ value into a signed int (typically 32-bit). * When a large or complex regular expression (such as those generated by a recursive pattern in a Proof-of-Concept) causes the bytecode size to exceed $2^{31}$ bytes (the maximum positive value for a signed 32-bit integer), the size value wraps around, resulting in a negative integer when stored in the int variable (Integer Overflow). * This negative value is subsequently used in offset calculations. For example, within functions like re_parse_disjunction, the negative size is used to compute an offset (pos) for patching a jump instruction. * This negative offset is then incorrectly added to the buffer pointer (s->byte\_code.buf + pos), leading to an out-of-bounds write on the first line of the snippet below: put_u32(s->byte_code.buf + pos, len);
From the CVE record by Google, last updated October 16, 2025, 17:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| QuickJS | QuickJS libregexp | 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-62495?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 4.0 | CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L | |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | 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-62495 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, October 16, 2025)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-191 Integer Underflow (Wrap or Wraparound)
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:42 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, 18:39 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-62494 QuickJS: incorrect type conversion
- Oct 16, 2025CVE-2025-62493 QuickJS: out-of-bounds read
- 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-62495
Is CVE-2025-62495 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of QuickJS are affected by CVE-2025-62495?
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-62495?
2025-09-13, per the CVE record by Google. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-62495?
High (7.1, CVSS 4.0, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2025-62495?
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.