Skip to content
OpenAdvisories
High · 8.8 CVE-2026-41139 EUVD-2026-28310GHSA-5v89-rwgr-qj6gGHSA-jvff-x2qm-6286

Unsafe array index getter in mathjs

Published May 7, 2026 · Updated Jul 15, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
josdejong mathjs >= 13.1.0, < 15.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-dashboards-3 3.5.0-r15 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mathjs >= 13.1.0, < 15.2.0 15.2.0 GHSA-jvff-x2qm-6286

References