CVE-2026-56111
Last modified
CVE-2026-56111 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 0.54% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MarlinFirmware | Marlin | <= 2.1.2.7 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-56111?
How severe is CVE-2026-56111?
How do I fix CVE-2026-56111?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-56091When using Apache Shiro with the shiro-guice module in a web…8.2
- CVE-2026-56099OpenBSD before commit 6a23123 (2026-06-18) contains an out-o…5.3
- CVE-2026-5610A vulnerability has been found in Belkin F9K1015 1.00.10. Af…8.8
- CVE-2026-56104Chainlit before 2.10.1 contains a session hijacking vulnerab…8.8
- CVE-2026-56109The Advanced Linux Sound Architecture (ALSA) library before …7
- CVE-2026-5611A vulnerability was found in Belkin F9K1015 1.00.10. This af…8.8
- CVE-2026-56113dhcpcd through 10.3.2, fixed in commit 5733d3c, contains a h…6.5
- CVE-2026-56114dhcpcd through 10.3.2, fixed in commit 2f00c7b, contains a o…6.5
- CVE-2026-56115Bootimus through 0.1.70 contains a broken access control vul…8.8
- CVE-2026-56116dhcpcd through 10.3.2, fixed in commit 708b4a5, contains a m…7.1
- CVE-2026-56117dhcpcd through 10.3.2, fixed in commit 78ea09e, contains a h…5.5
- CVE-2026-56118Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-56111?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
