Vulnerability · Published Dec 3, 2025 · Assigned by GitHub_M
CVE-2025-66453Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function
Medium 5.5
In plain English
A medium-severity uncontrolled resource consumption in rhino from mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rhino | 1.7.14.1-0+deb12u1 | DEBIAN-CVE-2025-66453 |
| Debian:13 | rhino | 1.7.15.1-0.1~deb13u1 | DEBIAN-CVE-2025-66453 |
| Debian:14 | rhino | 1.7.15.1-0.1 | DEBIAN-CVE-2025-66453 |
| Maven | org.mozilla:rhino | 1.7.14.1 | GHSA-3w8q-xq97-5j7x |
| Maven | org.mozilla:rhino | 1.7.15.1 | GHSA-3w8q-xq97-5j7x |
| Maven | org.mozilla:rhino | 1.8.1 | GHSA-3w8q-xq97-5j7x |
| Ubuntu:22.04:LTS | rhino | no fix listed | UBUNTU-CVE-2025-66453 |
| Ubuntu:24.04:LTS | rhino | no fix listed | UBUNTU-CVE-2025-66453 |
| Ubuntu:25.10 | rhino | no fix listed | UBUNTU-CVE-2025-66453 |
| Ubuntu:26.04:LTS | rhino | no fix listed | UBUNTU-CVE-2025-66453 |
| Ubuntu:26.10 | rhino | no fix listed | UBUNTU-CVE-2025-66453 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
References
- https://github.com/mozilla/rhino/security/advisories/GHSA-3w8q-xq97-5j7x x_refsource_CONFIRM