cve.bz

CVE-2018-7502 beckhoff: Untrusted Pointer Dereference

7.8 highEPSS 0.6%

High (7.8) in beckhoff. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-822 Untrusted Pointer Dereference
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-7502 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-7502?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-7502?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-7502 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
beckhoff:twincat2.11
beckhoff:twincat3.1
beckhoff:twincat_c++3.1

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-18-081-02Beckhoff TwinCAT2018-03-22Critical Manufacturing, Energy, Water and Wastewater SystemsTwinCAT: 3.1 Build 4022.4 or prior, TwinCAT: 2.11 R3 2259 or prior, TwinCAT: 3.1 C++ / Matlab (TC1210/TC1220/TC1300/TC1320)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-129 Pointer Manipulation Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON