CVE-2024-36845: libmodbus · Uncontrolled Resource Consumption
Affects libmodbusSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 31 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubstephane/libmodbuspkg:github/stephane/libmodbusOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately audit network exposure of libmodbus services, especially the unit-test-server component, and restrict access to trusted hosts only via network segmentation and firewall rules.
- Implement strict network-level controls such as VPNs or dedicated industrial networks to isolate modbus traffic from general IT networks.
- Monitor network traffic for anomalous or malformed Modbus messages that could indicate exploitation attempts.
- Engage with libmodbus maintainers or vendors for updates and patches; apply them promptly once available.
- Conduct thorough testing of industrial control systems to identify any exposed unit-test-server interfaces and disable or restrict them if not required.
- Incorporate this vulnerability into incident response plans, ensuring readiness to respond to DoS events affecting modbus communications.
- Educate operational technology (OT) teams about this vulnerability and best practices for securing modbus implementations.
- Consider deploying intrusion detection/prevention systems (IDS/IPS) with signatures for malformed modbus packets targeting this vulnerability.
Description
An invalid pointer in the modbus_receive() function of libmodbus v3.1.6 allows attackers to cause a Denial of Service (DoS) via a crafted message sent to the unit-test-server.