CVE-2025-45143
7.0high
string-math's string-math.js vulnerability can cause Regex Denial of Service (ReDoS)
- Severity
- 7.0high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.45% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-994j-5c83-r424
Description
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| string-math (npm) | up to 1.2.2 | GitHub Advisory Database |
| devrafalko string-math | 1.2.2 | NVD |
All scores
| CISA-ADP | 7.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
NVD (es)
Se descubrió que string-math v1.2.2 contiene una denegación de servicio de expresiones regulares (ReDoS) que se explota a través de una entrada manipulada.
References
| https://www.npmjs.com/package/string-math%2C | broken-link, web | |
| https://github.com/devrafalko/string-math/blob/master/string-math.js | product, web | |
| https://gist.github.com/6en6ar/361608bccedb808061359481fe2f1b39 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-45143 | advisory | |
| https://github.com/devrafalko/string-math | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-45143 changed 2025-06-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-994j-5c83-r424 changed 2025-06-30 | CC-BY-4.0 |
| NVD | CVE-2025-45143 changed 2026-06-17 | Public domain |