Buffer overflow in Libmodbus

CVE-2024-10918

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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (33.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-10918?
CVE-2024-10918 is a medium-severity vulnerability in Libmodbus, classified under Stack-based Buffer Overflow. CVSS score: 4.8/10. Published 2025-02-27.
How severe is CVE-2024-10918?
Medium severity. CVSS v3 base score is 4.8 out of 10.
Is CVE-2024-10918 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.