CVE-2024-36843 Memory corruption in n/a
A heap overflow in libmodbus allows attackers to execute arbitrary code or cause denial of service via crafted Modbus messages.
- 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-36843?
CVE-2024-36843 is a high-severity memory corruption vulnerability in n/a, published on 31 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
Weakness: CWE-122
Which versions are affected by CVE-2024-36843?
It affects 1 product.
Products include Libmodbus Libmodbus.
How do I fix CVE-2024-36843?
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-36843 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36843 exists.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2024-36843, GHSA-mh44-x3cr-7p25, JLSEC-2026-1254, UBUNTU-CVE-2024-36843.