{"id":"CVE-2018-20818","sourceIdentifier":"cve@mitre.org","published":"2019-04-22T11:29:01.970","lastModified":"2026-06-17T01:53:32.400","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"A buffer overflow vulnerability was discovered in the OpenPLC controller, in the OpenPLC_v2 and OpenPLC_v3 versions. It occurs in the modbus.cpp mapUnusedIO() function, which can cause a runtime crash of the PLC or possibly have unspecified other impact."},{"lang":"es","value":"Fue encontrada una vulnerabilidad de desbordamiento de búfer en el controlador OpenPLC, en las versiones OpenPLC_v2 y OpenPLC_v3. Se produce en la función de mapUnusedIO() Modbus.cpp, que puede provocar un bloqueo en tiempo de ejecución del PLC o, posiblemente, tener otro impacto no especificado."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/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}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:openplcproject:openplc_v2_firmware:-:*:*:*:*:*:*:*","matchCriteriaId":"A9D03A78-0590-471D-8C3A-A620F0C46649"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:openplcproject:openplc_v2:-:*:*:*:*:*:*:*","matchCriteriaId":"6100B866-B033-4EAA-8172-41C165424238"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:openplcproject:openplc_v3_firmware:-:*:*:*:*:*:*:*","matchCriteriaId":"7624BE59-886B-421D-96CC-105F185AE070"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:openplcproject:openplc_v3:-:*:*:*:*:*:*:*","matchCriteriaId":"6861E863-E6AC-4BFB-8CDE-2328A045540D"}]}]}],"references":[{"url":"https://arxiv.org/pdf/1809.07477","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://arxiv.org/pdf/1809.07477","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}