CVE-2025-62496
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-62496) exists in the QuickJS engine's BigInt string parsing logic (jsbigintfrom_string) when attempting to create a BigInt from a string with an excessively large number of digits. The vulnerability was discovered and disclosed on October 16, 2025, affecting the QuickJS JavaScript engine (NVD).

Technical details

The vulnerability stems from an integer overflow in the calculation of required bits for storing BigInt values. The function calculates nbits using the formula (ndigits × 27 + 7) / 8 for base 10 numbers. For large input strings (approximately 79,536,432 digits or more in base 10), the intermediate calculation exceeds the maximum value of a signed 32-bit integer, resulting in an Integer Overflow. The CVSS v4.0 score is 7.1 (HIGH) with vector string 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 (NVD).

Impact

When exploited, the vulnerability leads to a Heap Out-of-Bounds Write as the function attempts to write data past the end of the allocated r->tab array due to the underestimated buffer size. This occurs because the flawed nbits value results in an underestimated nlimbs calculation, leading to insufficient memory allocation for the JSBigInt object (NVD).

Mitigation and workarounds

The vulnerability has been addressed in the QuickJS engine's latest updates, as indicated in the changelog. A new BigInt implementation optimized for small numbers was introduced in the April 26, 2025 release (QuickJS Changelog).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-49655CRITICAL9.8
  • PythonPython
  • keras
NoYesOct 17, 2025
CVE-2025-26625HIGH8.6
  • Git LFSGit LFS
  • cpe:2.3:a:git_large_file_storage_project:git_large_file_storage
NoYesOct 17, 2025
CVE-2025-62496HIGH7.1
  • Linux DebianLinux Debian
  • quickjs
NoNoOct 16, 2025
CVE-2025-62495HIGH7.1
  • Linux DebianLinux Debian
  • quickjs
NoNoOct 16, 2025
CVE-2025-61789MEDIUM5.3
  • Linux DebianLinux Debian
  • icingadb-web
NoNoOct 16, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management