# CVE-2025-66453: Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-12-03T16:57:50.000Z
- Modified: 2026-10-18T17:10:00.110Z
- Also known as: GHSA-3w8q-xq97-5j7x
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mozilla rhino: >= 1.8.0, < 1.8.1; >= 1.7.15, < 1.7.15.1; < 1.7.14.1; before 1.7.14.1; 1.7.15; 1.8.0
- org.mozilla:rhino (Maven): before 1.7.14.1; from 1.7.15 before 1.7.15.1; from 1.8.0 before 1.8.1

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2025-66453](https://www.cve.org/CVERecord?id=CVE-2025-66453), CVE Terms of Use, modified 2025-12-03
- GitHub Advisory Database: [GHSA-3w8q-xq97-5j7x](https://github.com/advisories/GHSA-3w8q-xq97-5j7x), CC-BY-4.0, modified 2025-12-05
- NVD: [CVE-2025-66453](https://nvd.nist.gov/vuln/detail/CVE-2025-66453), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66453 · Whole record: https://cve.day/CVE-2025-66453.json · Rebuilt by cve.day 2026-11-25T22:59:08.245Z
