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.
Product
ubuntu/libmodbus vulnerabilities
9 published CVES affecting ubuntu/libmodbus, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 9
- Critical
- 4
- High
- 4
- Medium
- 1
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest ubuntu/libmodbus CVEs
Newest publication first
-
CriticalCVSS 9.8 EPSS 0.56%
-
MediumCVSS 4.3 EPSS 0.48%
An invalid pointer in the modbus_receive() function of libmodbus v3.1.6 allows attackers to cause a Denial of Service (DoS) via a crafted message sent to the unit-test-server.
-
HighCVSS 7.5 EPSS 0.61%
libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted message sent to the unit-test-server.
-
HighCVSS 7.5 EPSS 0.79%
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
-
HighCVSS 7.5 EPSS 0.52%
libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function. This issue can be triggered when the function is fed with specially crafted input, which leads to out-of-bounds read and can potentially cause a crash or other unintended behaviors.
-
CriticalCVSS 9.8 EPSS 0.73%
libmodbus v3.1.10 has a heap-based buffer overflow vulnerability in read_io_status function in src/modbus.c.
-
HighCVSS 7.8 EPSS 0.46%
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
-
CriticalCVSS 9.1 EPSS 1.9%
An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the MODBUS_FC_WRITE_MULTIPLE_REGISTERS case, aka VD-1301.
-
CriticalCVSS 9.1 EPSS 2.0%
An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the MODBUS_FC_WRITE_MULTIPLE_COILS case, aka VD-1302.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.