CVE-2024-10918

Source
https://cve.org/CVERecord?id=CVE-2024-10918
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-10918.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-10918
Downstream
Published
2025-02-27T11:44:25Z
Modified
2026-10-22T10:31:01Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Stack-based Buffer Overflow in libmodbus library
Details

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.

Database specific
{
    "cna_assigner": "Nozomi",
    "cwe_ids": [
        "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10918.json"
}
References

Affected packages

Git / github.com/stephane/libmodbus

Affected ranges

Type
GIT
Repo
https://github.com/stephane/libmodbus
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "3.1.10"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        }
    ]
}

Affected versions

v1.*
v1.2.2
v2.*
v2.1.0
v2.9.1
v2.9.2
v2.9.3
v2.9.4
v3.*
v3.0.0
v3.0.1
v3.1.0
v3.1.10
v3.1.2
v3.1.3
v3.1.4
v3.1.5
v3.1.6
v3.1.7
v3.1.8
v3.1.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-10918.json"