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

Published Dec 3, 2025
·
Updated

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.JSdtostr > DToA.JSdtoa > 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.

Other sources

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.JSdtostr > DToA.JSdtoa > DToA.pow5mult where pow5mult attempts to raise 5 to a ridiculous power.

Example code: (4.47118444E-314).toFixed(2)

GitHub

Affected Software

6 affected componentsFixes available
maven/org.mozilla:rhino=1.8.0
1.8.1
maven/org.mozilla:rhino>=1.7.15<1.7.15.1
1.7.15.1
maven/org.mozilla:rhino<1.7.14.1
1.7.14.1
Mozilla Rhino<1.7.14.1
Mozilla Rhino=1.7.15
Mozilla Rhino=1.8.0

Event History

Dec 3, 2025
Advisory Published
via GitHub·04:57 PM
Data Sourced
via GitHub·04:57 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·07:31 PM
Data Sourced
via MITRE·07:31 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-66453?

CVE-2025-66453 has a high severity rating due to its potential to cause Denial of Service through excessive CPU consumption.

2

How do I fix CVE-2025-66453?

To resolve CVE-2025-66453, upgrade the affected 'org.mozilla:rhino' package to version 1.8.1 or higher.

3

What versions are affected by CVE-2025-66453?

CVE-2025-66453 affects 'org.mozilla:rhino' versions 1.8.0 and 1.7.15, including earlier versions.

4

What could an attacker achieve with CVE-2025-66453?

An attacker could exploit CVE-2025-66453 to induce high CPU usage, potentially leading to service unavailability.

5

Is CVE-2025-66453 specific to any software products?

Yes, CVE-2025-66453 specifically impacts software that utilizes the 'org.mozilla:rhino' package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203