PoC Monitor
← All CVEs
CVE-2026-56111published 24 Jun 2026 14:31 UTCData: JSON · API

MarlinFirmware Marlin

Marlin Firmware 2.1.2.7 Out-of-Bounds Write via M421 G-code Handler

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.

First public PoC 6 hafter publication · 24 Jun 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by CNA · CWE-129
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MarlinFirmware Marlin
  • <= 2.1.2.7

Fixed in 1f255d16ec2d456454fd444494cfb338d62b0fa1

Mitigation

Upgrade Marlin to 1f255d16ec2d456454fd444494cfb338d62b0fa1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Jun 2026 · t = 0First public PoC24 Jun 2026 · t+6h

First public PoC 6 h after publication; not in CISA KEV. First PoC: Christbowel/CVE-2026-56111 (created 24 Jun 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Christbowel/CVE-2026-56111 24 Jun 2026 +6 h 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
CVE record (tagged exploit)Researcher Disclosureunknown14 Nov 2026