{"api_version":"1","generated_at":"2026-08-01T20:43:50+00:00","cve":"CVE-2024-10918","urls":{"html":"https://cve.report/CVE-2024-10918","api":"https://cve.report/api/cve/CVE-2024-10918.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-10918","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-10918"},"summary":{"title":"Stack-based Buffer Overflow in libmodbus library","description":"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\nunexpected length.","state":"PUBLISHED","assigner":"Nozomi","published_at":"2025-02-27 12:15:33","updated_at":"2026-08-01 19:16:41"},"problem_types":["CWE-121","CWE-787","CWE-121 CWE-121 Stack-based Buffer Overflow"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"prodsec@nozominetworks.com","type":"Secondary","score":"4.8","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"4.8","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2026/08/msg00003.html","name":"https://lists.debian.org/debian-lts-announce/2026/08/msg00003.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918","name":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918","refsource":"prodsec@nozominetworks.com","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html","name":"https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-10918","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10918","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"libmodbus","product":"libmodbus","version":"affected 3.1.10 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"To fix this issue, it's suggested to update libmodbus to v3.1.11","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Gabriele Quagliarella of Nozomi Networks found this bug during a security research activity.","lang":"en"}],"nvd_cpes":[{"cve_year":"2024","cve_id":"10918","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libmodbus","cpe5":"libmodbus","cpe6":"3.1.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2024-10918","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2025-02-27T14:46:41.226453Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2025-02-27T14:46:51.404Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2026-08-01T18:20:11.243Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html"},{"url":"https://lists.debian.org/debian-lts-announce/2026/08/msg00003.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://libmodbus.org/","defaultStatus":"unaffected","modules":["modbus"],"product":"libmodbus","programFiles":["modbus.c"],"programRoutines":[{"name":"modbus_reply"}],"repo":"https://github.com/stephane/libmodbus","vendor":"libmodbus","versions":[{"lessThanOrEqual":"3.1.10","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Gabriele Quagliarella of Nozomi Networks found this bug during a security research activity."}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response <span style=\"background-color: var(--wht);\">if the function tries to reply to a Modbus request with an\nunexpected length</span>."}],"value":"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\nunexpected length."}],"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2025-02-27T11:44:25.170Z","orgId":"bec8025f-a851-46e5-b3a3-058e6b0aa23c","shortName":"Nozomi"},"references":[{"url":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"To fix this issue, it's suggested to update libmodbus to v3.1.11"}],"value":"To fix this issue, it's suggested to update libmodbus to v3.1.11"}],"source":{"discovery":"UNKNOWN"},"title":"Stack-based Buffer Overflow in libmodbus library","x_generator":{"engine":"Vulnogram 0.2.0"}}},"cveMetadata":{"assignerOrgId":"bec8025f-a851-46e5-b3a3-058e6b0aa23c","assignerShortName":"Nozomi","cveId":"CVE-2024-10918","datePublished":"2025-02-27T11:44:25.170Z","dateReserved":"2024-11-06T09:29:36.151Z","dateUpdated":"2026-08-01T18:20:11.243Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-02-27 12:15:33","lastModifiedDate":"2026-08-01 19:16:41","problem_types":["CWE-121","CWE-787","CWE-121 CWE-121 Stack-based Buffer Overflow"],"metrics":{"cvssMetricV31":[{"source":"prodsec@nozominetworks.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":2.2,"impactScore":2.5},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-02-27T14:46:41.226453Z","id":"CVE-2024-10918","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:*","matchCriteriaId":"524EB0BF-4994-4369-BD85-CC578548CA1C"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"10918","Ordinal":"1","Title":"Stack-based Buffer Overflow in libmodbus library","CVE":"CVE-2024-10918","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"10918","Ordinal":"1","NoteData":"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\nunexpected length.","Type":"Description","Title":"Stack-based Buffer Overflow in libmodbus library"}]}}}