Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-66453 EUVD-2025-201013GHSA-3w8q-xq97-5j7x

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

Published Dec 3, 2025 · Updated Dec 3, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
mozilla rhino >= 1.8.0, < 1.8.1, >= 1.7.15, < 1.7.15.1, < 1.7.14.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rhino 1.7.15.1-0.1 —
Debian 13 rhino 1.7.15.1-0.1~deb13u1 —
Debian 12 rhino 1.7.14.1-0+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rhino No fix yet —
Ubuntu 26.04 LTS rhino No fix yet —
Ubuntu 25.10 rhino No fix yet —
Ubuntu 24.04 LTS rhino No fix yet —
Ubuntu 22.04 LTS rhino No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rhino No fix yet —
Ubuntu 18.04 LTS rhino No fix yet —
Ubuntu 16.04 LTS rhino No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 rhino 1.7.15.1-150200.12.7.1 SUSE-SU-2025:4390-1
SLES 15 SP6 rhino 1.7.15.1-150200.12.7.1 SUSE-SU-2025:4390-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 rhino 1.7.15.1-160000.1.1 SUSE-SU-2026:20603-1
SLES 16.0 rhino 1.7.15.1-160000.1.1 SUSE-SU-2026:20603-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rhino 1.7.15.1-1.1 openSUSE-SU-2025:15798-1
openSUSE Leap 16.0 rhino 1.7.15.1-160000.1.1 openSUSE-SU-2026:20297-1
openSUSE Leap 15.6 rhino 1.7.15.1-150200.12.7.1 SUSE-SU-2025:4390-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rhino +3 1.7.14.1-3.amzn2023.0.1 ALAS2023-2025-1339

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rhino 1.7.15.1-1 —
Azure Linux 2 (CBL-Mariner) rhino No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.mozilla:rhino < 1.7.14.1 1.7.14.1 GHSA-3w8q-xq97-5j7x
Maven org.mozilla:rhino >= 1.7.15, < 1.7.15.1 1.7.15.1 GHSA-3w8q-xq97-5j7x
Maven org.mozilla:rhino >= 1.8.0, < 1.8.1 1.8.1 GHSA-3w8q-xq97-5j7x

Advisories 9

References