Home

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.

PUBLISHED Reserved 2025-12-01 | Published 2025-12-03 | Updated 2025-12-03 | Assigner GitHub_M




MEDIUM: 5.5CVSS: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

Problem types

CWE-400: Uncontrolled Resource Consumption

Product status

>= 1.8.0, < 1.8.1
affected

>= 1.7.15, < 1.7.15.1
affected

< 1.7.14.1
affected

References

github.com/.../rhino/security/advisories/GHSA-3w8q-xq97-5j7x

cve.org (CVE-2025-66453)

nvd.nist.gov (CVE-2025-66453)