Skip to content
Fencer Vulns
high 8.8

CVE-2026-41139 json

Unsafe array index getter in mathjs

published 2026-04-10 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-28310 , GHSA-5v89-rwgr-qj6g , GHSA-jvff-x2qm-6286

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-41139 updated cvss 8.8

mathjs: math.js: Arbitrary code execution via expression parser

  • Red Hat Cryostat 4 grafana-infinity-datasource-npm Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat Enterprise Linux 8 qt5-qtbase, qt5-qtbase-gui, qt5-qtbase-odbc, qt5-qtbase-mysql, qt5-qtbase-common, qt5-qtbase-examples, +1 more Red Hat Enterprise Linux 9 qt5-qtbase, qt5-qtbase-gui, qt5-qtbase-odbc, qt5-qtbase-mysql, qt5-qtbase-common, qt5-qtbase-examples, +1 more Red Hat Enterprise Linux 10 qt6-qtbase Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-model-registry-rhel9
    +2 more products
    Red Hat OpenShift Container Platform 4 openshift4/ose-monitoring-plugin-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portal
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
6 mo ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm mathjs
>=13.1.0, <15.2.0
15.2.0

Affected products

  • josdejong mathjs
  • Red Hat Cryostat 4
  • Red Hat Red Hat Developer Hub
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat OpenShift AI (RHOAI)
  • Red Hat Red Hat OpenShift Container Platform 4
  • Red Hat Self-service automation portal 2

Classification

Weakness
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.