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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe Patch
- https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg Vendor Advisory
- https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe Patch
- https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.5 · hapiNVD modified 2026-10-28 19:10
Affected (CPE criteria) 1
cpe:2.3:a:hapi:formula:*:*:*:*:*:node.js:*:*
References 4
- https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe Patch
- https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg Vendor Advisory
- https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe Patch
- https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg Vendor Advisory