Read the docs
TI-2024-10121 Aliases CVE-2024-10918GHSA-96xh-5wq4-m4cc

Stack-based Buffer Overflow in libmodbus library

Priority MEDIUM 43CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00562 46th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
libmodbuslibmodbusup to 3.1.10—No fix listedCNA
  • libmodbus Vendorlibmodbus Affected up to 3.1.10 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:*3.1.10Vulnerablelibmodbus
  • cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:* Versions 3.1.10 Vulnerable ·libmodbus

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-10918
  2. 2026-10-03 Alias added: GHSA-96xh-5wq4-m4cc

References

  • TI-2023-11779 libmodbus v3.1.10 has a heap-based buffer overflow vulnerability in read_io_status function in src/modbus.c. CVSS 3.1CRITICAL 9.8
  • TI-2024-24425 libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer. CVSS 3.1HIGH 7.5
  • TI-2024-24424 libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function. CVSS 3.1HIGH 7.5
  • TI-2024-22653 libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function. CVSS 3.1HIGH 7.5
  • TI-2024-24426 An invalid pointer in the modbus_receive() function of libmodbus v3.1.6 allows attackers… CVSS 3.1MEDIUM 4.3
  • TI-2019-10782 An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. CVSS 3.1CRITICAL 9.1
See all 8 →

Sources