nanoMODBUS through v1.22.0 has a stack-based buffer overflow in recv_read_registers_res() in nanomodbus.c. When a client calls nmbs_read_holding_registers() or nmbs_read_input_registers(), the library writes register data from the server response to the caller-provided buffer based on the response's byte_count field before validating that byte_count matches the requested quantity. A malicious Modbus TCP server can send a response with byte_count=250 (125 registers) regardless of the requested quantity, causing up to 248 bytes of attacker-controlled data to overflow the buffer, potentially allowing remote code execution.
CVE-2026-29972
Score 8.2 from GitHub Security Advisory (severity: HIGH) published 2026-05-08. NVD baseline CVSS 8.2; 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
- 8.2
- EG Score
- 8.2(medium)
- EG Risk
- 52(Track)EG Risk 52/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity82% × 45%Exploitation1% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 49%
- KEV
- Not listed
Published
May 8, 2026
Last Modified
May 13, 2026
Advisory Details (3)
Auto-updated May 8, 2026nanoMODBUS/nanomodbus.c at master · debevv/nanoMODBUS · GitHub
https://github.com/debevv/nanoMODBUS/blob/master/nanomodbus.c#L580-L615GitHub - debevv/nanoMODBUS: A compact MODBUS RTU/TCP C library for embedded/microcontrollers · GitHub
https://github.com/debevv/nanoMODBUSnanoMODBUS buffer overflow · GitHub
https://gist.github.com/dwilliams27/a4e26fe747c8561d608f7549804bd85fWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 33× 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 230 total refreshes for this CVE.
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 14:23 UTCOSV refresh
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 14:17 UTCEPSS rescore
- 2026-08-23 19:00 UTCEG score recompute
- 2026-08-23 19:00 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 11:30 UTCEG score recompute
- 2026-08-17 11:30 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 04:33 UTCEG score recompute
- 2026-08-16 04:33 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 16:15 UTCGHSA enrichment
- 2026-08-14 03:07 UTCEG score recompute
- 2026-08-14 03:07 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 05:59 UTCGHSA enrichment
- 2026-08-12 16:43 UTCEG score recompute
- 2026-08-12 16:43 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-11 15:51 UTCEG score recompute
- 2026-08-11 15:51 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 01:16 UTCEG score recompute
- 2026-08-11 01:16 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 04:38 UTCGHSA enrichment
- 2026-08-09 15:31 UTCEG score recompute
- 2026-08-09 15:31 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 02:23 UTCEG score recompute
- 2026-08-09 02:23 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 03:58 UTCEG score recompute
- 2026-08-08 03:58 UTCGHSA enrichment
- 2026-08-07 14:50 UTCGHSA enrichment
- 2026-08-07 01:43 UTCEG score recompute
- 2026-08-07 01:43 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 11:15 UTCGHSA enrichment
- 2026-08-05 22:07 UTCEG score recompute
- 2026-08-05 22:07 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-03 19:30 UTCEG score recompute
- 2026-08-03 19:30 UTCGHSA enrichment
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 04:56 UTCGHSA enrichment
- 2026-08-02 15:48 UTCGHSA enrichment
- 2026-08-02 02:40 UTCEG score recompute
- 2026-08-02 02:40 UTCGHSA enrichment
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:08 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-121
Frequently asked(5)
What is CVE-2026-29972?
When was CVE-2026-29972 disclosed?
Is CVE-2026-29972 actively exploited?
What is the CVSS score of CVE-2026-29972?
How do I remediate CVE-2026-29972?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-29972
Is Your Infrastructure Affected by CVE-2026-29972?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.