CVE-2024-36845 Denial of service in n/a

Medium 4.3 Published Updated

Attackers can cause a Denial of Service in applications using libmodbus by sending crafted messages to the unit-test-server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-36845?

CVE-2024-36845 is a medium-severity denial of service vulnerability in n/a, published on 31 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An invalid pointer in the modbus_receive() function of libmodbus v3.1.6 allows attackers to cause a Denial of Service (DoS) via a crafted message sent to the unit-test-server.

Weakness: CWE-400

Which versions are affected by CVE-2024-36845?

It affects 1 product.

Products include Libmodbus Libmodbus.

How do I fix CVE-2024-36845?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-36845 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36845 exists.

Sources

Also known as DEBIAN-CVE-2024-36845, GHSA-vqrf-777q-wcmm, JLSEC-2026-1256, UBUNTU-CVE-2024-36845.

Is CVE-2024-36845 in your software?

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

Check your SBOMs for free