CVE-2024-10918
published medium CVSS 3.1 · 4.8Stack-based Buffer Overflow in libmodbus library
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libmodbus | — | libmodbus0 through 3.1.10 · Other versions: unaffected | Affected | Not stated | Nozomi |
| Debian | bookworm | libmodbus | Advisory build | 3.1.6-2.1+deb12u1 | DLA-4714-1 |
| Debian | bullseye | libmodbus | Advisory build | 3.1.6-2+deb11u1 | DLA-4084-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- Nozomi · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libmodbus | libmodbus | 0 through 3.1.10 (affected · semver)Default: unaffected | Nozomi · cna |
Weaknesses
1- CWE-121 CWE-121 Stack-based Buffer Overflow
References
3Provider assertions
3Nozomi · cna
Stack-based Buffer Overflow in libmodbus library
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2bafd7214f5a359522f7830fc9d2e136abf9e7c6454dd059f4abc82cebd00069
- Ingested
- 23 Sep 2026, 08:16:44 UTC
- Source record
- Official CVE record