Heap-based Buffer Overflow Affecting libmodbus package, versions [,3.1.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIBMODBUS-3009196
  • published30 Aug 2022
  • disclosed30 Aug 2022
  • creditAiDaiP

Introduced: 30 Aug 2022

CVE-2022-0367  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade libmodbus to version 3.1.7 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the function modbus_reply() in src/modbus.c.

CVSS Scores

version 3.1