7.5

CVE-2024-36843: libmodbus Heap-based Buffer Overflow

Modified
AliasesUBUNTU-CVE-2024-36843DEBIAN-CVE-2024-36843
Published 31-05-2024Last modified 03-11-2025

Vulnerability summary

CVE-2024-36843 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in libmodbus. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 57.6% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 31-05-2024
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.79% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Libmodbus

    Maturity: poc

  • githubUnverified

    Libmodbuspoc

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • libmodbus< 3.1.6-2.1
Libmodbus1 product
Ubuntu1 product
  • libmodbusAll versions (No fix recorded)

3 vendors · 3 products

References

6 links