CVE-2022-0367

HIGH
Published Aug 29, 20223y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Aug 29, 2022 3y ago
Last Modified Jun 17, 2026 2w ago

Description

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

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety
CWE-787 Out-of-bounds Write Memory Safety

Affected Products 4

VendorProductVersionRange
libmodbuslibmodbus* <3.1.7
fedoraprojectextra_packages_for_enterprise_linux7.0any
fedoraprojectfedora35any
debiandebian_linux10.0any

References 5

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2045571
    Issue TrackingThird Party Advisory
  • github.com https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6
    PatchThird Party Advisory
  • github.com https://github.com/stephane/libmodbus/issues/614
    ExploitIssue TrackingPatchThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html
    Mailing ListThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html

Remediation

  • github.com https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6
    PatchThird Party Advisory
  • github.com https://github.com/stephane/libmodbus/issues/614
    ExploitIssue TrackingPatchThird Party Advisory