CVE-2025-66453
MEDIUM 5.5CVSS 4.0Rhino has high CPU usage and potential DoS when passing specific numbers to `toFixed()` function
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.
- Published
- 3 Dec 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-3w8q-xq97-5j7x
- Sources
- NVDJSONOSV GHSA-3w8q-xq97-5j7xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.5 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mozilla | rhinocpe:2.3:a:mozilla:rhino:*:*:*:*:*:*:*:* |
< 1.7.14.1 | 1.7.14.1 |
| NVD | mozilla | rhinocpe:2.3:a:mozilla:rhino:1.7.15:*:*:*:*:*:*:* |
= 1.7.15 | |
| NVD | mozilla | rhinocpe:2.3:a:mozilla:rhino:1.8.0:*:*:*:*:*:*:* |
= 1.8.0 | |
| OSV | Maven | org.mozilla:rhino | < 1.7.14.1 | 1.7.14.1 |
| OSV | Maven | org.mozilla:rhino | >= 1.7.15, < 1.7.15.1 | 1.7.15.1 |
| OSV | Maven | org.mozilla:rhino | >= 1.8.0, < 1.8.1 | 1.8.1 |
References
- https://github.com/mozilla/rhino/security/advisories/GHSA-3w8q-xq97-5j7x · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66453 · ADVISORY
- https://github.com/mozilla/rhino/commit/2bcf4c43deace35f1f57d86377c6767b0608986e · WEB
- https://github.com/mozilla/rhino · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 3 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Dec 2025)