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.
CVE-2026-56111
Score 9.1 from GitHub Security Advisory (severity: HIGH) published 2026-06-24. a secondary CVSS source baseline 9.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.1
- EG Score
- 9.1(high)
- EPSS
- 41.6%
- KEV
- Not listed
Published
June 24, 2026
Last Modified
June 25, 2026
Advisory Details (4)
Auto-updated Jun 24, 2026Marlin Firmware 2.1.2.7 Out-of-Bounds Write via M421 G-code Handler | Advisories | VulnCheck
https://www.vulncheck.com/advisories/marlin-firmware-out-of-bounds-write-via-m421-g-code-handlerBound-check I/J indices in M421 (Mesh Bed Leveling)
Fix merged in MarlinFirmware/Marlin PR #28468 on 2026-06-23 — awaiting tagged release
https://github.com/MarlinFirmware/Marlin/pull/28468[BUG] M421 (Mesh Bed Leveling) accepts out-of-range I/J indices, unlike the ABL and UBL variants · Issue #28467 · MarlinFirmware/Marlin · GitHub
https://github.com/MarlinFirmware/Marlin/issues/28467commit 1f255d16ec2d (MarlinFirmware/Marlin)
Fix landed in MarlinFirmware/Marlin commit 1f255d16ec2d — awaiting tagged release
https://github.com/MarlinFirmware/Marlin/commit/1f255d16ec2d456454fd444494cfb338d62b0fa1Vendor Advisories for CVE-2026-56111(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 96× in last 7d / 173× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 173 total refreshes for this CVE.
- 2026-07-07 06:11 UTCEG score recompute
- 2026-07-07 06:11 UTCGHSA enrichment
- 2026-07-07 02:19 UTCEG score recompute
- 2026-07-07 02:19 UTCGHSA enrichment
- 2026-07-06 22:19 UTCEG score recompute
- 2026-07-06 22:19 UTCGHSA enrichment
- 2026-07-06 18:25 UTCEG score recompute
- 2026-07-06 18:24 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 14:07 UTCEG score recompute
- 2026-07-06 14:07 UTCGHSA enrichment
- 2026-07-06 10:17 UTCEG score recompute
- 2026-07-06 10:17 UTCGHSA enrichment
- 2026-07-06 06:17 UTCEG score recompute
- 2026-07-06 06:17 UTCGHSA enrichment
- 2026-07-06 02:26 UTCEG score recompute
- 2026-07-06 02:25 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 22:33 UTCEG score recompute
- 2026-07-05 22:33 UTCGHSA enrichment
- 2026-07-05 18:43 UTCEG score recompute
- 2026-07-05 18:43 UTCGHSA enrichment
- 2026-07-05 14:54 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-05 14:54 UTCGHSA enrichment
- 2026-07-05 11:02 UTCEG score recompute
- 2026-07-05 11:02 UTCGHSA enrichment
- 2026-07-05 07:13 UTCEG score recompute
- 2026-07-05 07:12 UTCGHSA enrichment
- 2026-07-05 03:22 UTCEG score recompute
- 2026-07-05 03:22 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 23:30 UTCEG score recompute
- 2026-07-04 23:30 UTCGHSA enrichment
- 2026-07-04 19:41 UTCEG score recompute
- 2026-07-04 19:40 UTCGHSA enrichment
- 2026-07-04 15:50 UTCEG score recompute
- 2026-07-04 15:50 UTCGHSA enrichment
- 2026-07-04 12:01 UTCEG score recompute
- 2026-07-04 12:01 UTCGHSA enrichment
- 2026-07-04 08:10 UTCEG score recompute
- 2026-07-04 08:10 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 04:15 UTCEG score recompute
- 2026-07-04 04:15 UTCGHSA enrichment
- 2026-07-04 00:21 UTCEG score recompute
- 2026-07-04 00:21 UTCGHSA enrichment
- 2026-07-03 20:31 UTCEG score recompute
- 2026-07-03 20:31 UTCGHSA enrichment
- 2026-07-03 16:41 UTCEG score recompute
- 2026-07-03 16:41 UTCGHSA enrichment
- 2026-07-03 12:50 UTCEG score recompute
- 2026-07-03 12:50 UTCGHSA enrichment
- 2026-07-03 08:08 UTCEG score recompute
- 2026-07-03 08:08 UTCGHSA enrichment
- 2026-07-03 04:18 UTCEG score recompute
- 2026-07-03 04:18 UTCGHSA enrichment
- 2026-07-03 00:27 UTCEG score recompute
- 2026-07-03 00:27 UTCGHSA enrichment
- 2026-07-02 20:38 UTCEG score recompute
- 2026-07-02 20:38 UTCGHSA enrichment
- 2026-07-02 16:47 UTCEG score recompute
- 2026-07-02 16:47 UTCGHSA enrichment
- 2026-07-02 12:57 UTCEG score recompute
- 2026-07-02 12:57 UTCGHSA enrichment
- 2026-07-02 09:07 UTCEG score recompute
- 2026-07-02 09:07 UTCGHSA enrichment
- 2026-07-02 05:14 UTCEG score recompute
- 2026-07-02 05:14 UTCGHSA enrichment
- 2026-07-02 01:24 UTCEG score recompute
- 2026-07-02 01:24 UTCGHSA enrichment
- 2026-07-01 21:34 UTCEG score recompute
- 2026-07-01 21:34 UTCGHSA enrichment
- 2026-07-01 17:44 UTCEG score recompute
- 2026-07-01 17:44 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 13:54 UTCEG score recompute
- 2026-07-01 13:54 UTCGHSA enrichment
- 2026-07-01 10:05 UTCEG score recompute
- 2026-07-01 10:05 UTCGHSA enrichment
- 2026-07-01 06:14 UTCEG score recompute
- 2026-07-01 06:14 UTCGHSA enrichment
- 2026-07-01 02:24 UTCEG score recompute
- 2026-07-01 02:24 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 22:34 UTCEG score recompute
- 2026-06-30 22:34 UTCGHSA enrichment
- 2026-06-30 18:44 UTCEG score recompute
- 2026-06-30 18:44 UTCGHSA enrichment
- 2026-06-30 14:54 UTCEG score recompute
- 2026-06-30 14:54 UTCGHSA enrichment
- 2026-06-30 10:57 UTCEG score recompute
- 2026-06-30 10:57 UTCGHSA enrichment
- 2026-06-30 07:04 UTCEG score recompute
- 2026-06-30 07:04 UTCGHSA enrichment
- 2026-06-30 03:14 UTCEG score recompute
- 2026-06-30 03:14 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-129
Frequently asked(5)
What is CVE-2026-56111?
When was CVE-2026-56111 disclosed?
Is CVE-2026-56111 actively exploited?
What is the CVSS score of CVE-2026-56111?
How do I remediate CVE-2026-56111?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-56111
Is Your Infrastructure Affected by CVE-2026-56111?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.