Low, CVSS 2.7MavenPublished
Rhino has high CPU usage and potential DoS when passing specific numbers to toFixed() function
CVE-2025-66453 · GHSA-3w8q-xq97-5j7x
- Affected
- Maven org.mozilla:rhino < 1.7.14.1; >= 1.7.15, < 1.7.15.1; >= 1.8.0, <= 1.8.0
- Fixed in
- 1.7.15.11.8.11.7.14.1· Vendor fix available
- Issue
- 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)
Recommended action: Upgrade to 1.8.1, 1.7.15.1 or 1.7.14.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.