CVE-2026-41139

Unsafe array index getter in mathjs

HIGH
8.8
CVSS Score
Published: May 7, 2026 at 05:06 AM UTC
Updated: October 26, 2026 at 09:10 PM UTC
2 products affected across 2 vendorsMathjsMathjs

Using mathjs by josdejong?

Get instant alerts when new vulnerabilities affect mathjs - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

13.1.0 ≤ v < 15.2.0
Affected range stops below 15.2.0, so it looks safe — our inference, not a vendor statement
13.1.0 ≤ v < 15.2.0
Affected range stops below 15.2.0, so it looks safe — our inference, not a vendor statement

References (8)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/josdejong/mathjs/security/advisories/GHSA-5v89-rwgr-qj6g
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/josdejong/mathjs/pull/3656
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/josdejong/mathjs/releases/tag/v15.2.0
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-41139
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2467648

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHredhat-SADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-915CWE-94

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card