{"id":"CVE-2023-25166","aliases":["GHSA-c2jc-4fpr-4vhg"],"url":"https://o3.security/vulnerability/CVE-2023-25166","summary":"Regular Expression Denial of Service (ReDoS) Vulnerability","details":"formula is a math and string formula parser. In versions prior to 3.0.1 crafted user-provided strings to formula's parser might lead to polynomial execution time and a denial of service. Users should upgrade to 3.0.1+. There are no known workarounds for this vulnerability.","published":"2023-02-08T19:28:29.314Z","modified":"2026-08-12T03:51:22.125926172Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@sideway/formula","fixedVersion":"3.0.1"}],"fix":{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","label":"hapijs/formula@9fbc20a"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25166.json"},{"type":"ADVISORY","url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166"},{"type":"FIX","url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:22.125926172Z"}}