Buffer overflow in Libmodbus
CVE-2022-0367
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (37.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 37.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Libmodbus
- Debian Linux — versions 10.0
- Fedoraproject Extra Packages For Enterprise Linux — versions 7.0
- Fedoraproject Fedora — versions 35
- Libmodbus — versions Fixed in v3.1.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/stephane/libmodbus/issues/614 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/09/msg00007.html (mailing-list, Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-0367?
- CVE-2022-0367 is a high-severity vulnerability in Libmodbus, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2022-08-29.
- How severe is CVE-2022-0367?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2022-0367 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.