# CVE-2024-10918: Stack-based Buffer Overflow in libmodbus library

- Severity: Medium 4.8 (CVSS:3.1, scored by Nozomi) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-02-27T11:44:25.170Z
- Modified: 2026-08-01T19:16:41.023Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Nozomi

## 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.

(As written by CVE List.)

## Affected

- libmodbus libmodbus: up to 3.1.10; 3.1.10

## Every score

- Nozomi: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html>
- <https://lists.debian.org/debian-lts-announce/2026/08/msg00003.html>

## Sources

- CVE List: [CVE-2024-10918](https://www.cve.org/CVERecord?id=CVE-2024-10918), CVE Terms of Use, modified 2026-08-01
- NVD: [CVE-2024-10918](https://nvd.nist.gov/vuln/detail/CVE-2024-10918), Public domain, modified 2026-08-01

---

Page: https://cve.day/CVE-2024-10918 · Whole record: https://cve.day/CVE-2024-10918.json · Rebuilt by cve.day 2026-11-25T22:58:52.112Z
