CVE Explorer
CVE-2025-62493
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
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_to_string1","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:09bdf4308e23deabcc367c70ee88778c1696c58628610aca39667115439e2956 · sha256:456d805db9ac4577… · /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":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:09bdf4308e23deabcc367c70ee88778c1696c58628610aca39667115439e2956 · sha256:456d805db9ac4577… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:09bdf4308e23deabcc367c70ee88778c1696c58628610aca39667115439e2956 · sha256:456d805db9ac4577… · /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:09bdf4308e23deabcc367c70ee88778c1696c58628610aca39667115439e2956 · sha256:456d805db9ac4577… · /containers/cna/references/0
{"url":"https://issuetracker.google.com/434193024"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:09bdf4308e23deabcc367c70ee88778c1696c58628610aca39667115439e2956 · sha256:456d805db9ac4577… · /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.