CVE-2024-10918

Source
https://cve.org/CVERecord?id=CVE-2024-10918
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10918.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-10918
Downstream
Published
2025-02-27T11:44:25.170Z
Modified
2026-08-12T03:51:34.800083818Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10918.json",
    "cwe_ids": [
        "CWE-121"
    ],
    "cna_assigner": "Nozomi"
}
References

Affected packages

Git / github.com/stephane/libmodbus

Affected ranges

Type
GIT
Repo
https://github.com/stephane/libmodbus
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ],
    "cpe": "cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.1.10"
        },
        {
            "introduced": "3.1.10"
        }
    ]
}

Affected versions

3.*
3.1.10
v3.*
v3.1.10

Database specific

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