CVE-2025-45143
HIGH 7.0CVSS 3.1string-math's string-math.js vulnerability can cause Regex Denial of Service (ReDoS)
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
- Published
- 30 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-994j-5c83-r424
- Sources
- NVDJSONOSV GHSA-994j-5c83-r424JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | devrafalko | string-mathcpe:2.3:a:devrafalko:string-math:1.2.2:*:*:*:*:node.js:*:* |
= 1.2.2 | |
| OSV | npm | string-math | <= 1.2.2 |
References
- https://gist.github.com/6en6ar/361608bccedb808061359481fe2f1b39 · Exploit, Third Party Advisory, WEB
- https://github.com/devrafalko/string-math/blob/master/string-math.js · Product, WEB
- https://www.npmjs.com/package/string-math%2C · Broken Link, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-45143 · ADVISORY
- https://github.com/devrafalko/string-math · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 30 Jun 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Jun 2025)