{"schemaVersion":3,"id":"CVE-2018-7502","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Kernel drivers in Beckhoff TwinCAT 3.1 Build 4022.4, TwinCAT 2.11 R3 2259, and TwinCAT 3.1 lack proper validation of user-supplied pointer values. An attacker who is able to execute code on the target may be able to exploit this vulnerability to obtain SYSTEM privileges.","dates":{"published":"2018-03-23T17:00:00.000Z","modified":"2024-09-16T17:14:23.452Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00557,"percentile":0.4559,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.019999999999999966,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00577},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00577,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00557,"percentile":0.4559}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00577,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00557,"percentile":0.4559}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-822","name":"Untrusted Pointer Dereference","description":"The product obtains a value from an untrusted source, converts this value to a pointer, and dereferences the resulting pointer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/822.html"},{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"beckhoff","product":"twincat","name":"twincat","label":"twincat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.11","noFixRecorded":false,"fixedIn":null},{"text":"3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.11 | 3.1","eol":null,"hubHref":"/vendor/beckhoff/twincat"},{"vendor":"beckhoff","product":"twincat_c\\+\\+","name":"twincat c\\+\\+","label":"twincat_c\\+\\+","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.1","eol":null,"hubHref":"/vendor/beckhoff/twincat_c"},{"vendor":"ics-cert","product":"beckhoff twincat plc products","name":"Beckhoff TwinCAT PLC products","label":"beckhoff twincat plc products","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"TwinCAT 3.1 Build 4022.4, TwinCAT 2.11 R3 2259, TwinCAT 3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"TwinCAT 3.1 Build 4022.4, TwinCAT 2.11 R3 2259, TwinCAT 3.1","eol":null,"hubHref":"/vendor/ics-cert/beckhoff_twincat_plc_products"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://srcincite.io/advisories/src-2018-0007/","label":"srcincite.io/advisories/src-2018-0007/","hostname":"srcincite.io","tags":["X Refsource MISC"]},{"url":"http://www.securityfocus.com/bid/103487","label":"www.securityfocus.com/bid/103487","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://ics-cert.us-cert.gov/advisories/ICSA-18-081-02","label":"ics-cert.us-cert.gov/advisories/ICSA-18-081-02","hostname":"ics-cert.us-cert.gov","tags":["X Refsource MISC","Mitigation","Third Party Advisory","US Government Resource"]},{"url":"https://download.beckhoff.com/download/Document/product-security/Advisories/advisory-2018-001.pdf","label":"download.beckhoff.com/download/Document/product-security/Advisories/advisory-2018-001.pdf","hostname":"download.beckhoff.com","tags":["X Refsource CONFIRM","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2017-14776","CVE-2017-14777","CVE-2017-14778","CVE-2017-14779","CVE-2017-14780","CVE-2017-14781","CVE-2017-14782","CVE-2017-14783","CVE-2017-14784","CVE-2017-14785","CVE-2017-14786","CVE-2017-14787","CVE-2017-14788","CVE-2017-14789","CVE-2017-14790","CVE-2017-14791","CVE-2017-14792","CVE-2017-14793","CVE-2017-14794"],"related":[]},"timeline":[{"kind":"published","date":"2018-03-23T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T17:14:23.452Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T16:17:17.718Z","stale":false,"partial":false}}