CVE-2024-36843 json
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
published 2024-05-31 2 y ago modified 2026-08-11 2 mo ago also EUVD-2024-36227 , JLSEC-2026-1254
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
Patch / fix
- julia LibModbus_jll 3.1.10+0
- libmodbus Debian 14, Debian 13, Debian 12 3.1.6-2.1
debian advisories DEBIAN-CVE-2024-36843
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-36843 updated
libmodbus: heap overflow
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/stephane/libmodbus/issues/748 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/balckgu1/libmodbusPoc/blob/main/gdb.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibModbus_jll | <3.1.10+0 |
3.1.10+0 |
Affected products
- libmodbus libmodbus
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
-
github.com
/stephane/libmodbus/issues/748
exploit, issue-tracking, vendor-advisory, web
-
github.com
/balckgu1/libmodbusPoc/blob/main/gdb.md
exploit, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2025/03/msg00010.html
web
Sources
- CVE List CVE-2024-36843
- NVD CVE-2024-36843
- OSV JLSEC-2026-1254
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.