Description
MuJS 1.3.6 before 1.3.9 contains a heap out-of-bounds read and write vulnerability in Array.prototype.sort that allows attackers to corrupt memory by inflating a simple array's length. Attackers can supply JavaScript that enlarges a dense array's length and calls sort, causing Ap_sort_cmp and Ap_sort_swap to access slots past the buffer and crash the process.
Published: 2026-10-14
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory corruption resulting in denial‑of‑service
Action: Upgrade MuJS
AI Analysis

Impact

MuJS 1.3.6 to 1.3.8 suffer a heap out‑of‑bounds read and write in the Array.prototype.sort routine. By enlarging a dense array’s length and invoking sort, the internal comparison and swap functions access memory past the allocated buffer, causing memory corruption and typically crashing the MuJS process.

Affected Systems

Artifex Software’s MuJS JavaScript engine, versions 1.3.6, 1.3.7, and 1.3.8, is affected. These releases are included in the 1.3.x series used in embedded and server contexts that host MuJS for script handling.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. The EPSS score of 0.00172 (below 1%) indicates an extremely low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, an attacker must be able to supply or influence JavaScript executed by MuJS. With such access, the attacker can corrupt memory and cause a denial‑of‑service by crashing the process.

Generated by OpenCVE AI on October 15, 2026 at 19:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MuJS to version 1.3.9 or later.
  • If an immediate upgrade is not possible, apply the upstream patch that adds bounds checking before calling sort (see commit 32064e10caa45e68fc87331ca53d042049cc9396).
  • If neither upgrade nor patch can be applied, restrict the use of Array.prototype.sort to trusted scripts and isolate the MuJS instance with reduced privileges and memory protection such as ASLR and stack canaries.

Generated by OpenCVE AI on October 15, 2026 at 19:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description MuJS 1.3.6 before 1.3.9 contains a heap out-of-bounds read and write vulnerability in Array.prototype.sort that allows attackers to corrupt memory by inflating a simple array's length. Attackers can supply JavaScript that enlarges a dense array's length and calls sort, causing Ap_sort_cmp and Ap_sort_swap to access slots past the buffer and crash the process.
Title MuJS 1.3.6 before 1.3.9 Heap Out-of-Bounds Read/Write via Array.prototype.sort
First Time appeared Artifex
Artifex mujs
Weaknesses CWE-787
CPEs cpe:2.3:a:artifex:mujs:*:*:*:*:*:*:*:*
Vendors & Products Artifex
Artifex mujs
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T19:13:59.760Z

Reserved: 2026-10-14T14:39:52.987Z

Link: CVE-2026-110715

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T16:17:43.610

Modified: 2026-10-15T20:17:08.993

Link: CVE-2026-110715

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T19:30:18Z

Weaknesses