{"id":"CVE-2022-0367","state":"PUBLISHED","title":"A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.","description":"A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.","publishedAt":"2022-08-29T14:03:05.000Z","updatedAt":"2025-11-03T20:34:24.383Z","severity":null,"assigner":"redhat","products":["n/a libmodbus"],"affected":[{"vendor":"n/a","product":"libmodbus","versions":[{"version":"Fixed in v3.1.7","status":"affected"}]}],"references":["https://github.com/stephane/libmodbus/issues/614","https://bugzilla.redhat.com/show_bug.cgi?id=2045571","https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6","https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html","https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html"],"weaknesses":["CWE-119"],"ingestedAt":"2026-10-29T19:49:26.075Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/0xxx/CVE-2022-0367.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-0367","state":"PUBLISHED","datePublished":"2022-08-29T14:03:05.000Z","dateUpdated":"2025-11-03T20:34:24.383Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-01-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c."}],"affected":[{"vendor":"n/a","product":"libmodbus","versions":[{"version":"Fixed in v3.1.7","status":"affected"}]}],"references":[{"url":"https://github.com/stephane/libmodbus/issues/614","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2045571","tags":["x_refsource_MISC"]},{"url":"https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html","name":"[debian-lts-announce] 20220904 [SECURITY] [DLA 3098-1] libmodbus security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-119","description":"CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer.","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-09-04T23:06:08.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/stephane/libmodbus/issues/614","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2045571","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html","name":"[debian-lts-announce] 20220904 [SECURITY] [DLA 3098-1] libmodbus security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:34:24.383Z"}}]}}}