CVE-2022-0367
HIGH
Published Aug 29, 20223y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
Published Aug 29, 2022 3y ago
Last Modified Jun 17, 2026 2w ago
Description
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 4
| Vendor | Product | Version | Range |
|---|---|---|---|
| libmodbus | libmodbus | * | <3.1.7 |
| fedoraproject | extra_packages_for_enterprise_linux | 7.0 | any |
| fedoraproject | fedora | 35 | any |
| debian | debian_linux | 10.0 | any |
References 5
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2045571
- github.com https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6
- github.com https://github.com/stephane/libmodbus/issues/614
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html
Remediation
- github.com https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6
- github.com https://github.com/stephane/libmodbus/issues/614