CVE Explorer
CVE-2025-62496
A vulnerability exists in the QuickJS engine's BigInt string parsing logic (js_bigint_from_string) when attempting to create a BigInt from a string with an excessively large number of digits.
The function calculates the necessary number of bits (n_bits) required to store the BigInt using the formula:
$$\text{n\_bits} = (\text{n\_digits} \times 27 + 7) / 8 \quad (\text{for radix 10})$$
* For large input strings (e.g., $79,536,432$ digits or more for base 10), the intermediate calculation $(
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://bellard.org/quickjs/","defaultStatus":"unaffected","packageName":"js_bigint_from_string","product":"QuickJS","vendor":"QuickJS","versions":[{"lessThan":"2025-09-13","status":"affected","version":"2025-04-26","versionType":"date"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fc608aa3468c319e49942ad422143dcb8942db9148fa321dd570843aa51934b5 · sha256:7d3b58803142978f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact"…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fc608aa3468c319e49942ad422143dcb8942db9148fa321dd570843aa51934b5 · sha256:7d3b58803142978f… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fc608aa3468c319e49942ad422143dcb8942db9148fa321dd570843aa51934b5 · sha256:7d3b58803142978f… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://bellard.org/quickjs/Changelog"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fc608aa3468c319e49942ad422143dcb8942db9148fa321dd570843aa51934b5 · sha256:7d3b58803142978f… · /containers/cna/references/0
{"url":"https://issuetracker.google.com/434193016"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fc608aa3468c319e49942ad422143dcb8942db9148fa321dd570843aa51934b5 · sha256:7d3b58803142978f… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.