CVE-2024-36843: libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
CVE-2024-36843 is a high-severity flaw (CVSS 7.5) affecting libmodbus. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-122 |
| Published | 2024-05-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-36843?
libmodbus: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-36843 being exploited?
CVE-2024-36843 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-36843 affect?
CVE-2024-36843 affects libmodbus. Severity is high (CVSS 7.5). libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
How urgent is CVE-2024-36843?
Priority 50/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-10918 MEDIUM 4.8 DOWNGRADE Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the
- CVE-2024-36845 MEDIUM 4.3 DOWNGRADE An invalid pointer in the modbus_receive() function of libmodbus v3.1.6 allows attackers to cause a Denial of
- CVE-2024-36844 HIGH 7.5 DOWNGRADE libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer
- CVE-2024-34244 HIGH 7.5 DOWNGRADE libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function
- CVE-2023-26793 CRITICAL 9.8 DOWNGRADE libmodbus v3.1.10 has a heap-based buffer overflow vulnerability in read_io_status function in src/modbus.c.