Skip to main content
CVE-2024-10918VulnerabilityPublished Updated

libmodbus · Stack-based Buffer Overflow Vulnerability

Affects libmodbusSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.8 Critical.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibmodbuspkg:deb/ubuntu/libmodbus?arch=source&distro=nobleOther threatsAffected
  • =3.1.6-2.1
  • =3.1.10-1ubuntu1
Fixed in–
Ubuntu 22.04 LTSlibmodbuspkg:deb/ubuntu/libmodbus?arch=source&distro=jammyOther threatsAffected
  • =3.1.6-2
Fixed in–
Ubuntu 20.04 LTSlibmodbuspkg:deb/ubuntu/libmodbus?arch=source&distro=focalOther threatsAffected
  • =3.1.6-1
  • =3.1.6-2
Fixed in–
Ubuntu Pro 18.04 LTSlibmodbuspkg:deb/ubuntu/libmodbus?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =3.0.6-2
  • =3.0.6-2ubuntu0.1~esm1
  • =3.0.6-2+deb9u1build0.18.04.1
Fixed in–
Ubuntu Pro 16.04 LTSlibmodbuspkg:deb/ubuntu/libmodbus?arch=source&distro=esm-apps/xenialOther threatsAffected
  • =3.0.6-1
  • =3.0.6-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 14.04 LTSlibmodbuspkg:deb/ubuntu/libmodbus?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • =3.0.4-1
  • =3.0.5-1
  • =3.0.5-1ubuntu0.1~esm1
Fixed in–

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

Description

Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.

References

Community reviews

Loading reviews…