CVE-2022-0367
Libmodbus vulnerability
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
Affected products
Libmodbus, Extra Packages For Enterprise Linux, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libmodbus runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6 · Patch
- github.com/stephane/libmodbus/issues/614 · Exploit
- bugzilla.redhat.com/show_bug.cgi?id=2045571 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/09/msg00007.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/03/msg00010.html
- nvd.nist.gov/vuln/detail/CVE-2022-0367
- cve.org/CVERecord?id=CVE-2022-0367
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.