CVE-2024-10918

Stack-based Buffer Overflow in libmodbus library

State
Published
Severity
4.8 Medium
Published
Feb 27, 2025
Updated
Aug 1, 2026
Reserved
Nov 6, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LNozomi

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
libmodbuslibmodbus
  • 3.1.10 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.