Every CVE Search/ Get API key

CVE-2024-36843

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

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.79%Up 0.7 points since Jul 10, 2024
90%50%10%1%

What each source reports

CVE List Score used 7.5

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

Record
CVE-2024-36843
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122
Updated
2026-11-02
EUVDEUVD-2024-36227 7.5

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

Record
EUVD-2024-36227
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-mh44-x3cr-7p25 7.5

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

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

Record
GHSA-mh44-x3cr-7p25
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122
Updated
2026-11-02
NVD 7.5

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

Record
CVE-2024-36843
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122
Updated
2026-11-02
OSV 7.5

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

Record
CVE-2024-36843
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2024-36843 7.5

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

Record
DEBIAN-CVE-2024-36843
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2026-1254 7.5

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

Record
JLSEC-2026-1254
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-36843 7.5

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

Record
UBUNTU-CVE-2024-36843
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libmodbus
Debian:12
before 3.1.6-2.1
3.1.6-2.1
libmodbus
Debian:13
before 3.1.6-2.1
3.1.6-2.1
libmodbus
Debian:14
before 3.1.6-2.1
3.1.6-2.1
libmodbus
Debian:11
From an advisory covering 5 CVEs
before 3.1.6-2+deb11u1, plus listed versions
3.1.6-2
3.1.6-2+deb11u1
LibModbus_jll
Julia
before 3.1.10+0
3.1.10+0
libmodbus
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
3.0.4-13.0.5-13.0.5-1ubuntu0.1~esm1
None known
libmodbus
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.0.6-13.0.6-1ubuntu0.1~esm1
None known
libmodbus
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.0.6-23.0.6-2ubuntu0.1~esm13.0.6-2+deb9u1build0.18.04.1
None known
libmodbus
Ubuntu:20.04:LTS
All versions, plus listed versions
3.1.6-13.1.6-2
None known
libmodbus
Ubuntu:22.04:LTS
All versions, plus listed versions
3.1.6-2
None known
Show 4 moreShow less
Affected packages
PackageAffectedFixed
libmodbus
Ubuntu:24.04:LTS
All versions, plus listed versions
3.1.6-2.13.1.10-1ubuntu1
None known
libmodbus
Ubuntu:25.10
All versions, plus listed versions
3.1.11-2
None known
libmodbus
Ubuntu:26.10
All versions, plus listed versions
3.1.11-2build13.2.0-1
None known
libmodbus
Ubuntu:26.04:LTS
All versions, plus listed versions
3.1.11-23.1.11-2build1
None known

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-36843 is a high vulnerability (CVSS 7.5) in Libmodbus, published May 31, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.79%, the 56th percentile. Fixed in libmodbus 3.1.6-2.1.

References

MoveEnter Open