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


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.52% (42nd 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-ECHOLATEST-LIBMODBUS-18507878
  • published2 Aug 2026
  • disclosed27 Feb 2025

Introduced: 27 Feb 2025

CVE-2024-10918  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Echo:latest libmodbus to version 3.1.6-2.1+deb12u1 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.

CVSS Base Scores

version 3.1