CVE 5.5 MEDIUM

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

5.5 / 10
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

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.

Basic Information

ID CVE-2025-66453
Source GitHub_M
Published Dec 3, 2025 at 19:31
Modified Dec 3, 2025 at 19:43

Affected Product

Vendor mozilla
Product rhino
Version >= 1.8.0, < 1.8.1
Affected Versions mozilla rhino >= 1.8.0, < 1.8.1
mozilla rhino >= 1.7.15, < 1.7.15.1
mozilla rhino < 1.7.14.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.