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
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-10918
- 2026-10-03 Alias added: GHSA-96xh-5wq4-m4cc
References
More Libmodbus vulnerabilities
- 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
Sources
- CVE-2024-10918 · CVE Program
- CVE-2024-10918 · NVD
- FIRST EPSS
- GHSA-96xh-5wq4-m4cc · GitHub Advisory Database · CC BY 4.0
- CVE-2024-10918 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences