{"id":"CVE-2022-1068","aliases":["EUVD-2022-24412","GHSA-23h3-jvqq-m7vh"],"status":"published","title":"Modbus Tools Modbus Slave Stack-Based Buffer Overflow","description":"Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00964,"percentile":0.61916,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-121","CWE-787"],"published":"2022-04-01T22:17:57Z","modified":"2026-06-17T04:21:45Z","exploits":[{"source":"pocgithub","id":"webraybtl/CVE-2022-1068","title":"webraybtl/CVE-2022-1068","date":"2023-01-09","url":"https://github.com/webraybtl/CVE-2022-1068"}],"products":[{"vendor":"modbus tools","product":"modbus slave"},{"vendor":"modbustools","product":"modbus_slave"}],"references":[{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-22-088-04","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1068"},{"url":"https://github.com/advisories/GHSA-23h3-jvqq-m7vh"}],"sources":{"cve":[{"id":"CVE-2022-1068","title":"Modbus Tools Modbus Slave Stack-Based Buffer Overflow","description":"Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.","status":"published","published":"2022-04-01T22:17:57.203Z","modified":"2025-04-16T16:32:12.588Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:34:38.581997Z"}],"euvd":[{"id":"EUVD-2022-24412","description":"Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.","status":"published","published":"2022-04-01T22:17:57Z","modified":"2025-04-16T16:32:12Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T20:52:23.922531Z"}],"ghsa":[{"id":"GHSA-23h3-jvqq-m7vh","title":"Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer...","description":"Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.","status":"published","published":"2022-04-03T00:01:00Z","modified":"2023-01-27T05:01:16Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:41:51.63425Z"}],"nvd":[{"id":"CVE-2022-1068","description":"Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.","status":"published","published":"2022-04-01T23:15:12.39Z","modified":"2026-06-17T04:21:45.97Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-121","CWE-787"],"updated_at":"2026-11-02T14:07:14.706146Z"}]}}
