🛡️ CVE-2022-0367 on Debian — libmodbus
Description
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
Distribution advisory
This page covers CVE-2022-0367 as tracked by Debian, for the package libmodbus. The fix is available in version 3.1.6-2.1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-0367 is classified as CWE-119: Improper Restriction of Operations within Memory Buffer Bounds. A read or write is performed without confirming it stays inside the allocated buffer, corrupting adjacent memory.
Affected software
DEBIAN-CVE-2022-0367 is recorded against 1 package.
- libmodbus (fixed in 3.1.6-2.1)
Timeline and source
Published on 29 August 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-0367 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libmodbus | — | 3.1.6-2.1 |
References
Similar Threats
- Unknown DLA-4084-1
- Medium CVE-2024-10918
- Unknown DEBIAN-CVE-2024-10918
- Unknown UBUNTU-CVE-2024-10918
- Unknown DEBIAN-CVE-2024-36843
Site Security Check
Is libmodbus part of your stack?
DEBIAN-CVE-2022-0367 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.