Skip to main content
← All vulnerabilities
CVE-2025-66453GHSA-3W8Q-XQ97-5J7X

Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.1, 1.7.15.1, 1.7.14.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Rhino is an open-source implementation of JavaScript written entirely in Java. Prior to 1.8.1, 1.7.15.1, and 1.7.14.1, when an application passed an attacker controlled float poing number into the toFixed() function, it might lead to high CPU consumption and a potential Denial of Service. Small numbers go through this call stack: NativeNumber.numTo > DToA.JS_dtostr > DToA.JS_dtoa > DToA.pow5mult where pow5mult attempts to raise 5 to a ridiculous power. This vulnerability is fixed in 1.8.1, 1.7.15.1, and 1.7.14.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • mozilla rhino

    From 1.8.0 · fixed in 1.8.1; From 1.7.15 · fixed in 1.7.15.1; fixed in 1.7.14.1

  • org.mozilla:rhinoMaven

    fixed in 1.7.14.1

  • org.mozilla:rhinoMaven

    From 1.7.15 · fixed in 1.7.15.1

  • org.mozilla:rhinoMaven

    From 1.8.0 · fixed in 1.8.1

References 1

GitHub · mozilla/rhino