What’s Vulnerable › Vulnerabilities
CVE-2025-66453: Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-03 · updated 2026-10-18
- Weakness: CWE-400
Description
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.
Affected products
- mozilla rhino: before 1.7.14.1; 1.7.15, 1.8.0 — fixed in 1.7.14.1
How to fix
Upgrade to a fixed version: mozilla rhino 1.7.14.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-66453 or the next vulnerability affects your stack