# CVE-2024-36843

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-05-31 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2024-36843, DEBIAN-CVE-2024-36843
- Record: https://cvemate.com/vulnerability/CVE-2024-36843 · JSON: https://cvemate.com/vulnerability/CVE-2024-36843/json

## Description

```text
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.79%, percentile 57.645%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github)

## Affected

- debian libmodbus (Debian): \< 3.1.6-2.1
- ubuntu libmodbus (Ubuntu): All versions (No fix recorded)
- libmodbus libmodbus: 3.1.6

## References

- <https://github.com/stephane/libmodbus/issues/748>
- <https://github.com/balckgu1/libmodbusPoc/blob/main/gdb.md>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html>
- <https://ubuntu.com/security/CVE-2024-36843>
- <https://www.cve.org/CVERecord?id=CVE-2024-36843>
- <https://security-tracker.debian.org/tracker/CVE-2024-36843>

---

Data as of 2026-12-05T18:17:30.467Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
