High severity · published Aug 29, 2022
CVE-2022-0367
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c
7.8
CVSS
0.5%
EPSS
No
On KEV
Description
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
10.0 · source: NVD
EP
Extra Packages For Enterprise Linux · Fedoraproject
7.0 · source: NVD
FE
Fedora · Fedoraproject
35 · source: NVD
LI
Libmodbus · Libmodbus
before 3.1.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-0367
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-0367
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2045571
Patch
https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6
Exploit
https://github.com/stephane/libmodbus/issues/614
Mailing List
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
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
