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.
References (1)
Core 1
Core References
Vendor Advisory x_refsource_confirm
https://github.com/mozilla/rhino/security/advisories/GHSA-3w8q-xq97-5j7x
Scores
CVSS v3
7.5
EPSS
0.0011
EPSS Percentile
29.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-400
Status
published
Products (6)
mozilla/rhino
1.7.15
mozilla/rhino
1.8.0
mozilla/rhino
< 1.7.14.1 (2 CPE variants)
mozilla/rhino
>= 1.7.15, < 1.7.15.1
mozilla/rhino
>= 1.8.0, < 1.8.1
org.mozilla/rhino
0 - 1.7.14.1Maven
Published
Dec 03, 2025
Tracked Since
Feb 18, 2026