CVE-2026-41139: Math.js is an extensive math library for JavaScript and Node.js
CVE-2026-41139 is a high-severity flaw (CVSS 8.8) affecting mathjs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41139?
mathjs: upgrade to 15.2.0. Exact commands for each OS are on this page.
Is CVE-2026-41139 being exploited?
CVE-2026-41139 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41139 affect?
CVE-2026-41139 affects mathjs. Severity is high (CVSS 8.8). Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.
How urgent is CVE-2026-41139?
Priority 43/100. High severity
Software pages
Related CVEs
- CVE-2026-40897 HIGH 8.8 UPGRADE Math.js is an extensive math library for JavaScript and Node.js