CVE-2026-41139 Unsafe array index getter in mathjs
HighCVSS 8.8
EPSS 0.59%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
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.
Upgrade path
9 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift ai | All versions | No fix listed | No fix yet |
| mathjs | >= 13.1.0, < 15.2.0 | 15.2.0 | Fixed |
| npm mathjs(npm) | >= 13.1.0, < 15.2.0 | 15.2.0 | Fixed |
| josdejong mathjs | = >= 13.1.0, < 15.2.0 | No fix listed | Versions listed |
| redhat ansible portal | = 2 | No fix listed | Versions listed |
| redhat cryostat | = 4 | No fix listed | Versions listed |
| redhat enterprise linux | = 8; = 9; = 10 | No fix listed | Versions listed |
| redhat openshift | = 4 | No fix listed | Versions listed |
| redhat rhdh | = 1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| josdejong mathjs | = >= 13.1.0, < 15.2.0 | No fix listed |
| redhat cryostat | = 4 | No fix listed |
| redhat rhdh | = 1 | No fix listed |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat ansible portal | = 2 | No fix listed |
| npm mathjs(npm) | >= 13.1.0, < 15.2.0 | 15.2.0 |
| mathjs | >= 13.1.0, < 15.2.0 | 15.2.0 |
References
- https://github.com/josdejong/mathjs/security/advisories/GHSA-5v89-rwgr-qj6g patch vendor-advisory
- https://github.com/josdejong/mathjs/pull/3656 issue-tracking patch
- https://github.com/josdejong/mathjs/commit/0aee2f61866e35ffa0aef915221cdf6b026ffdd4 patch
- https://github.com/josdejong/mathjs/commit/bcf0da46f0b8577ec03c9ecd7bff8b5c2543a611 patch
- https://github.com/josdejong/mathjs/releases/tag/v15.2.0 release-notes
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2467648 issue-tracking
- security.access.redhat.com
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.cve.org
- github.com product