Read the docs

Heap out-of-bounds read and write in MuJS Array.prototype.sort

Priority MEDIUM 64CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

MuJS 1.3.6 before 1.3.9 contains a heap out-of-bounds read and write flaw (CWE-787) in Array.prototype.sort. A local attacker who gets a user to run crafted JavaScript can enlarge a dense array's length before calling sort, so the sort routines access memory past the buffer, corrupting it and crashing the process. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0017 6th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed MuJS (Artifex Software): 1.3.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ArtifexMuJS1.3.6 to before 1.3.91.3.9Patch availableCNA
  • MuJS VendorArtifex Affected 1.3.6 to before 1.3.9 Fixed in 1.3.9 Patch available CNA

Remediation

Upgrade MuJS to version 1.3.9, the fixed version.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

  • Fix · CNA MuJS (Artifex Software) Fixed in 1.3.9

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-14 Threatist record created from CVE-2026-110715
  2. 2026-10-15 Alias added: GHSA-45w2-9pc7-5crm
  3. 2026-10-16 CISA SSVC decision points changed
  4. 2026-10-16 Affected versions changed · Red Hat
  5. 2026-10-16 CVSS score added · Red Hat

References

  • TI-2017-05861 Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution… KEVCVSS 3.1HIGH 7.8
  • TI-2021-02712 Improper input validation in ghostscript CVSS 3.1CRITICAL 9.9
  • TI-2023-13382 In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential… CVSS 3.1CRITICAL 9.8
  • TI-2021-13164 Memory corruption in mujs CVSS 3.1CRITICAL 9.8
  • TI-2018-11841 An issue was discovered in Artifex Ghostscript before 9.24. CVSS 3.0HIGH 7.8
  • TI-2024-16051 freeglut through 3.4.0 was discovered to contain a memory leak via the menuEntry variable… CVSS 3.1HIGH 7.5
See all 265 →

Sources