Skip to main content
CVE-2024-36845VulnerabilityPublished Updated

CVE-2024-36845: libmodbus · n/a

Affects libmodbusSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubstephane/libmodbuspkg:github/stephane/libmodbusOther threatsAffected
  • =3.1.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. 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. 2. Implement strict network-level controls such as VPNs or dedicated industrial networks to isolate modbus traffic from general IT networks. 3. Monitor network traffic for anomalous or malformed Modbus messages that could indicate exploitation attempts. 4. Engage with libmodbus maintainers or vendors for updates and patches; apply them promptly once available. 5. Conduct thorough testing of industrial control systems to identify any exposed unit-test-server interfaces and disable or restrict them if not required. 6. Incorporate this vulnerability into incident response plans, ensuring readiness to respond to DoS events affecting modbus communications. 7. Educate operational technology (OT) teams about this vulnerability and best practices for securing modbus implementations. 8. 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.

References

Community reviews

Loading reviews…