Security mailing lists by PureSourceCode

CVE-2025-66453

MEDIUM 5.5CVSS 4.0

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

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
3 Dec 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-400
Also known as
GHSA-3w8q-xq97-5j7x
Sources
NVDJSONOSV GHSA-3w8q-xq97-5j7xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.5 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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:U
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mozilla rhino
cpe:2.3:a:mozilla:rhino:*:*:*:*:*:*:*:*
< 1.7.14.1 1.7.14.1
NVD mozilla rhino
cpe:2.3:a:mozilla:rhino:1.7.15:*:*:*:*:*:*:*
= 1.7.15
NVD mozilla rhino
cpe:2.3:a:mozilla:rhino:1.8.0:*:*:*:*:*:*:*
= 1.8.0
OSV Maven org.mozilla:rhino < 1.7.14.1 1.7.14.1
OSV Maven org.mozilla:rhino >= 1.7.15, < 1.7.15.1 1.7.15.1
OSV Maven org.mozilla:rhino >= 1.8.0, < 1.8.1 1.8.1

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 3 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.