CVE-2024-34244 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in libmodbus allows attackers to cause crashes or unintended behavior via crafted input to the modbus_write_bits function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-34244?

CVE-2024-34244 is a high-severity memory corruption vulnerability in n/a, published on 8 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function. This issue can be triggered when the function is fed with specially crafted input, which leads to out-of-bounds read and can potentially cause a crash or other unintended behaviors.

Weakness: CWE-125, CWE-120

Which versions are affected by CVE-2024-34244?

It affects 1 product.

Products include Libmodbus Libmodbus.

How do I fix CVE-2024-34244?

Upgrade to a fixed version.

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

Is CVE-2024-34244 being exploited?

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

Sources

Also known as GHSA-crpf-8hgm-99cp, JLSEC-2026-1253, UBUNTU-CVE-2024-34244.

Is CVE-2024-34244 in your software?

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

Check your SBOMs for free