Improper Validation of Array Index Affecting MarlinFirmware/Marlin package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MARLINFIRMWAREMARLIN-17661008
  • published28 Jun 2026
  • disclosed24 Jun 2026
  • creditUnknown

Introduced: 24 Jun 2026

CVE-2026-56111  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index in the M421 process when built with MESH_BED_LEVELING enabled. An attacker can corrupt firmware memory and cause denial of service or firmware state corruption by sending a crafted G-code command with out-of-range X and Y grid indices via USB serial, network interface, or a malicious gcode file. This is only exploitable if the firmware is built with MESH_BED_LEVELING enabled.

CVSS Base Scores

version 4.0
version 3.1