CVE-2022-4856 Modbus Tools Modbus Slave mbs File mbslave.exe buffer overflow

Medium 6.3 Published Updated

A remote buffer overflow in Modbus Slave allows attackers to execute arbitrary code via a malicious mbs file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-4856?

CVE-2022-4856 is a medium-severity memory corruption vulnerability in Modbus Slave, published on 30 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability has been found in Modbus Tools Modbus Slave up to 7.5.1 and classified as critical. Affected by this vulnerability is an unknown functionality of the file mbslave.exe of the component mbs File Handler. The manipulation leads to buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-217021 was assigned to this vulnerability.

Weakness: CWE-120

Which versions are affected by CVE-2022-4856?

It affects 1 product.

Products include Modbustools Modbus Slave.

How do I fix CVE-2022-4856?

No fix has been published for CVE-2022-4856 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-4856 being exploited?

There is no known exploitation of CVE-2022-4856 in the wild and no public exploit code.

Sources

Also known as GHSA-rxg3-r5j8-3qv5.

Is CVE-2022-4856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free