Skip to main content

Uncontrolled Resource Consumption

CVE-2025-66453

Severity Medium
Score 5.5/10

Summary

Rhino is an open-source implementation of JavaScript written entirely in Java. Versions prior to 1.7.14.1, 1.7.15.x prior to 1.7.15.1, and 1.8.x prior to 1.8.1, when an application passed an attacker-controlled floating-point 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.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

References

Advisory Timeline

  • Published