Out-of-bounds Write Affecting libmodbus package, versions <3.1.6-2.1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

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-DEBIAN12-LIBMODBUS-3011078
  • published31 Aug 2022
  • disclosed29 Aug 2022

Introduced: 29 Aug 2022

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

How to fix?

Upgrade Debian:12 libmodbus to version 3.1.6-2.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmodbus package and not the libmodbus package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.

CVSS Scores

version 3.1