Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mozilla | rhino | 1.8.0 to before 1.8.1; 1.7.15 to before 1.7.15.1; before 1.7.14.1 | 1.8.1, 1.7.15.1, 1.7.14.1 | Patch available | CNA |
| — | org.mozilla:rhino (Maven) | before 1.7.14.1 | 1.7.14.1 | Patch available | GHSA-3w8q-xq97-5j7x |
| — | org.mozilla:rhino (Maven) | 1.7.15 to before 1.7.15.1 | 1.7.15.1 | Patch available | GHSA-3w8q-xq97-5j7x |
| — | org.mozilla:rhino (Maven) | 1.8.0 to before 1.8.1 | 1.8.1 | Patch available | GHSA-3w8q-xq97-5j7x |
- rhino VendorMozilla Affected 1.8.0 to before 1.8.1; 1.7.15 to before 1.7.15.1; before 1.7.14.1 Fixed in 1.8.1, 1.7.15.1, 1.7.14.1 Patch available CNA
- org.mozilla:rhino (Maven) Vendor— Affected before 1.7.14.1 Fixed in 1.7.14.1 Patch available GHSA-3w8q-xq97-5j7x
- org.mozilla:rhino (Maven) Vendor— Affected 1.7.15 to before 1.7.15.1 Fixed in 1.7.15.1 Patch available GHSA-3w8q-xq97-5j7x
- org.mozilla:rhino (Maven) Vendor— Affected 1.8.0 to before 1.8.1 Fixed in 1.8.1 Patch available GHSA-3w8q-xq97-5j7x
Remediation
- Fix · CNA rhino (mozilla) Fixed in 1.8.1, 1.7.15.1, 1.7.14.1
- Fix · GHSA-3w8q-xq97-5j7x org.mozilla:rhino (Maven) Fixed in 1.7.14.1 Advisory →
- Fix · GHSA-3w8q-xq97-5j7x org.mozilla:rhino (Maven) Fixed in 1.7.15.1 Advisory →
- Fix · GHSA-3w8q-xq97-5j7x org.mozilla:rhino (Maven) Fixed in 1.8.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-66453
- 2026-10-03 Alias added: GHSA-3w8q-xq97-5j7x
References
Sources
- CVE-2025-66453 · CVE Program
- CVE-2025-66453 · NVD
- FIRST EPSS
- GHSA-3w8q-xq97-5j7x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences