{"id":"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.","aliases":["GHSA-c2jc-4fpr-4vhg"],"modified":"2026-04-16T04:11:06.694797Z","published":"2023-02-08T19:28:29.314Z","database_specific":{"cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25166.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hapijs/formula","events":[{"introduced":"0"},{"fixed":"5b44c1bffc38135616fb91d5ad46eaf64f03d23b"},{"fixed":"9fbc20a02d75ae809c37a610a57802cd1b41b3fe"}],"database_specific":{"cpe":"cpe:2.3:a:hapi:formula:*:*:*:*:*:node.js:*:*","source":["CPE_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"3.0.1"}]}}],"versions":["v1.0.0","v1.1.0","v1.2.0","v2.0.0","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-25166.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}