Name | CVE-2024-10918 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4084-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libmodbus (PTS) | bullseye | 3.1.6-2 | vulnerable |
| bullseye (security) | 3.1.6-2+deb11u1 | fixed |
| bookworm | 3.1.6-2.1 | vulnerable |
| sid, trixie | 3.1.11-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - libmodbus <no-dsa> (Minor issue)
https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918
https://github.com/stephane/libmodbus/commit/df79a02feb253c0a9a009bcdbb21e47581315111 (v3.1.11)
https://github.com/stephane/libmodbus/commit/d8a971e04d52be16bf405b51d934a30b8aa3f2c3 (v3.1.11, follow-up)
https://github.com/stephane/libmodbus/commit/81bf713cf029bfa5b5da87b945c1e8817b4398f9 (v3.1.11, follow-up)