GHSA-3w8q-xq97-5j7x

ghsaUSosv

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

view advisory published 2025-12-03Licence: CC-BY-4.0

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. Example code: `(4.47118444E-314).toFixed(2)`

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2025-66453UShigh7.5—
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…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan