{"id":"CVE-2022-0367","details":"A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.","modified":"2026-08-12T12:49:12.739739Z","published":"2022-08-29T14:03:05Z","related":["openSUSE-SU-2022:10196-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-119"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0367.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0367.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0367"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2045571"},{"type":"REPORT","url":"https://github.com/stephane/libmodbus/issues/614"},{"type":"FIX","url":"https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stephane/libmodbus","events":[{"introduced":"0"},{"fixed":"3da2d01916ef118aba30a1951d89e0ca0f90e2f7"},{"fixed":"b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6"}],"database_specific":{"cpe":"cpe:2.3:a:libmodbus:libmodbus:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.7"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["Fixed in v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.0","v3.0.1","v3.0.0","v2.9.4","v2.9.3","v2.9.2","v2.9.1","v2.1.0","v1.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0367.json","vanir_signatures_modified":"2026-08-12T12:49:12Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6","target":{"file":"src/modbus.c"},"deprecated":false,"digest":{"line_hashes":["315484959380180879673975876554454419256","163205760916264436916406636998934894044","98839181467345169972032702267087140137","285662054722586012298185867408727781136"],"threshold":0.9},"id":"CVE-2022-0367-8610e04e","signature_type":"Line"}]}}],"schema_version":"1.9.0"}