{"id":"CVE-2025-66453","aliases":["CVE-2025-66453","GHSA-3w8q-xq97-5j7x"],"related":[],"kind":"vulnerability","state":"published","title":"Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nSmall numbers go through this call stack: `NativeNumber.numTo > DToA.JS_dtostr > DToA.JS_dtoa > DToA.pow5mult`\nwhere `pow5mult` attempts to raise `5` to a ridiculous power.\n\nExample code: `(4.47118444E-314).toFixed(2)`","format":"markdown","source":"ghsa"},{"lang":"es","text":"Rhino es una implementación de código abierto de JavaScript escrita completamente en Java. Versiones anteriores a 1.8.1, 1.7.15.1 y 1.7.14.1, cuando una aplicación pasaba un número de punto flotante controlado por un atacante a la función 'toFixed()', esto podría llevar a un alto consumo de CPU y a una potencial denegación de servicio. Los números pequeños pasan por esta pila de llamadas: NativeNumber.numTo > DToA.JS_dtostr > DToA.JS_dtoa > DToA.pow5mult, donde 'pow5mult' intenta elevar 5 a una potencia ridícula. Esta vulnerabilidad está corregida en 1.8.1, 1.7.15.1 y 1.7.14.1.","source":"nvd"}],"published":"2025-12-03T16:57:50.000Z","modified":"2026-10-18T17:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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:U","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":">= 1.8.0, < 1.8.1","status":"affected"},{"version":">= 1.7.15, < 1.7.15.1","status":"affected"},{"version":"< 1.7.14.1","status":"affected"}],"vendor":"mozilla","product":"rhino","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.7.14.1"}],"ecosystem":"Maven","package":"org.mozilla:rhino","purl":"pkg:maven/org.mozilla/rhino","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.7.15","status":"affected","fixed":"1.7.15.1"}],"ecosystem":"Maven","package":"org.mozilla:rhino","purl":"pkg:maven/org.mozilla/rhino","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.8.0","status":"affected","fixed":"1.8.1"}],"ecosystem":"Maven","package":"org.mozilla:rhino","purl":"pkg:maven/org.mozilla/rhino","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.7.14.1"},{"status":"affected","version":"1.7.15"},{"status":"affected","version":"1.8.0"}],"vendor":"mozilla","product":"rhino","cpe":"cpe:2.3:a:mozilla:rhino:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mozilla/rhino/security/advisories/GHSA-3w8q-xq97-5j7x","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66453","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mozilla/rhino/commit/2bcf4c43deace35f1f57d86377c6767b0608986e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mozilla/rhino","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-03T19:43:43.562Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66453","url":"https://www.cve.org/CVERecord?id=CVE-2025-66453","licence":"CVE Terms of Use","modified":"2025-12-03T19:43:58.830Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3w8q-xq97-5j7x","url":"https://github.com/advisories/GHSA-3w8q-xq97-5j7x","licence":"CC-BY-4.0","modified":"2025-12-05T12:28:14.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66453","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66453","licence":"Public domain","modified":"2026-10-18T17:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:08.245Z","epss":{"score":0.00291,"percentile":0.23295,"date":"2026-12-01T12:00:22.000Z"}}