Skip to content
Fencer Vulns
medium 4.8

CVE-2024-10918 json

Stack-based Buffer Overflow in libmodbus library

published 2025-02-27 20 mo ago modified 2026-08-11 2 mo ago also EUVD-2024-53894 , GHSA-96xh-5wq4-m4cc , JLSEC-2026-1252

cvss
4.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

Summary

Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.

Patch / fix

  • julia LibModbus_jll 3.1.12+0
  • libmodbus Debian 12 3.1.6-2.1+deb12u1
  • libmodbus Debian 14, Debian 13 3.1.11-1

debian advisories DEBIAN-CVE-2024-10918

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-10918 updated cvss 4.8

libmodbus: Stack-based Buffer Overflow in libmodbus library

  • Red Hat All currently supported Red Hat products
    not 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
none
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia LibModbus_jll
>=3.1.10+0, <3.1.12+0
3.1.12+0

Affected products

  • libmodbus libmodbus

Classification

Weakness

References

Sources

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.