Vulnerability · Published Dec 3, 2025 · Assigned by GitHub_M

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

Medium 5.5

In plain English

A medium-severity uncontrolled resource consumption in rhino from mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.5Medium
Exploit odds (30 days)0.3%top 78.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rhino1.7.14.1-0+deb12u1DEBIAN-CVE-2025-66453
Debian:13rhino1.7.15.1-0.1~deb13u1DEBIAN-CVE-2025-66453
Debian:14rhino1.7.15.1-0.1DEBIAN-CVE-2025-66453
Mavenorg.mozilla:rhino1.7.14.1GHSA-3w8q-xq97-5j7x
Mavenorg.mozilla:rhino1.7.15.1GHSA-3w8q-xq97-5j7x
Mavenorg.mozilla:rhino1.8.1GHSA-3w8q-xq97-5j7x
Ubuntu:22.04:LTSrhinono fix listedUBUNTU-CVE-2025-66453
Ubuntu:24.04:LTSrhinono fix listedUBUNTU-CVE-2025-66453
Ubuntu:25.10rhinono fix listedUBUNTU-CVE-2025-66453
Ubuntu:26.04:LTSrhinono fix listedUBUNTU-CVE-2025-66453
Ubuntu:26.10rhinono fix listedUBUNTU-CVE-2025-66453

Affected products (as reported)

VendorProductVersions
mozilla rhino >= 1.8.0, < 1.8.1>= 1.7.15, < 1.7.15.1< 1.7.14.1

Weakness: CWE-400 · Vector: 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

References