CVE-2026-56111
Critical · 9.1CVSS
9.1
EPSS
0.6%
Published
Jun 24, 2026
CISA due date
—
The record
Marlin Firmware through 2.1.2.7, fixed in commit 1f255d1, when built with MESH_BED_LEVELING enabled, contains an out-of-bounds write vulnerability in the M421 G-code handler that allows attackers to corrupt firmware memory by supplying out-of-range X and Y grid indices. Attackers can send a single crafted G-code command via USB serial, network interface, or malicious gcode file to write an attacker-controlled 32-bit float value past the z_values array bounds, corrupting adjacent firmware variables and causing denial of service or firmware state corruption.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-96675 alsa-lib through 1.2.16.1 contains a denial of service vulnerability in the multi PCM… CWE-129
- CVE-2026-84445 gRPC-Go is the Go language implementation of gRPC. CWE-129
- CVE-2026-88052 Tesseract is an open source OCR engine. CWE-129
- CVE-2026-87500 Improper validation of array index in ANGLE in Google Chrome prior to 153.0.8010.36… CWE-129
- CVE-2026-0799 In BPF instructions that load/store a value from/to a scratch memory register the… CWE-129
- CVE-2026-57159 PJSIP is a free and open source multimedia communication library written in C. CWE-129
- CVE-2026-85084 Out-of-bounds Write and Improper Validation of Array Index vulnerability in Samsung Open… CWE-129
- CVE-2023-31308 A malicious virtual function can invoke the certain command handlers in the SMU, causing… CWE-129