Cloudanix VulnDB

CVE-2023-44428

High · 7.8

CVSS

7.8

EPSS

0.5%

Published

May 3, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in popular music writing software could let attackers take control of a computer if someone opens a specially made file, so users should only open files from trusted sources and keep the program updated.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer overflow during CAP file parsing due to missing length validation on user-supplied data before copying into a heap buffer, allowing arbitrary code execution in the context of the MuseScore process.

Why it matters to the business

Successful exploitation can lead to unauthorized code execution on user workstations running the affected music notation software, enabling potential data theft, persistence, or lateral movement; the issue has been public for over two years with low but slowly rising exploit probability.

How an attack unfolds

An attacker crafts a malicious CAP file that triggers the buffer overflow when parsed. The file is delivered to the victim (via web page or attachment), who must open it; once opened, the overflow allows the attacker to execute arbitrary code without further authentication.

How to fix it

Upgrade MuseScore to the latest patched release that resolves the CAP parsing flaw; block or sandbox untrusted CAP files until updates are applied.

How to confirm the fix worked

Confirm the installed MuseScore version is newer than the vulnerable build; test parsing of known-good and known-bad CAP samples in a controlled environment and review vendor release notes for the fix.

Typical attack path

  1. Create malformed CAP file exploiting insufficient length checks
  2. Host or send the file to the target user
  3. Victim opens the file in MuseScore (user interaction required)
  4. Overflow occurs during parsing and attacker-controlled code executes

How to detect it

Review endpoint logs and process creation events around MuseScore for unexpected child processes, crashes, or abnormal memory activity immediately after CAP file access; correlate with file-open telemetry from email clients or browsers.

What your security team should do

  • Prioritize patching MuseScore across all endpoints
  • Restrict opening of CAP files from external or untrusted sources
  • Enable application allow-listing or sandboxing for music notation tools
  • Update user awareness training to highlight risks of opening unknown files

The record

MuseScore CAP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MuseScore. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of CAP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-20769.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 musescore2 0 No fix
Debian:11 musescore3 0 No fix
Debian:12 musescore2 0 No fix
Debian:12 musescore3 0 No fix
Debian:13 musescore2 0 No fix
Debian:13 musescore3 0 No fix
Debian:14 musescore2 0 2.3.2+dfsg4-16
Debian:14 musescore3 0 3.2.3+dfsg2-18
Ubuntu:16.04:LTS musescore 0 No fix
Ubuntu:18.04:LTS musescore 0 No fix
Ubuntu:20.04:LTS musescore 0 No fix
Ubuntu:22.04:LTS musescore2 0 No fix
Ubuntu:22.04:LTS musescore3 0 No fix
Ubuntu:24.04:LTS musescore2 0 No fix
Ubuntu:24.04:LTS musescore3 0 No fix
Ubuntu:24.10 musescore2 0 No fix
Ubuntu:24.10 musescore3 0 No fix
Ubuntu:25.04 musescore2 0 No fix
Ubuntu:25.04 musescore3 0 No fix
Ubuntu:25.10 musescore2 0 No fix
Ubuntu:25.10 musescore3 0 No fix
Ubuntu:Pro:16.04:LTS musescore 0 No fix
Ubuntu:Pro:18.04:LTS musescore 0 No fix
Ubuntu:Pro:20.04:LTS musescore 0 No fix

Related vulnerabilities