Control Rte SlApplication · Codesys

CVE-2022-22516

HIGH · 7.8 CVSS v3.1 Published 2022-04-07
Fix available
A fix is available. Upgrade to 3.5.18.0 or later.
See remediation →
80/100
Remediation priority · High
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The SysDrv3S driver in the CODESYS Control runtime system on Microsoft Windows allows any system user to read and write within restricted memory space.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A local privilege escalation vulnerability exists in the SysDrv3S kernel driver of the CODESYS Control runtime system on Windows. The driver fails to properly restrict memory access, allowing any local user to read and write to privileged kernel memory regions, effectively granting elevated privileges.

MitigationApply the vendor-supplied patch for CODESYS Control to address the SysDrv3S driver vulnerability. Verify the patched driver version and confirm the runtime system functions correctly after the update.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Control Rte SlApplication
Affected:< 3.5.18.0
Control Rte Sl \(for Beckhoff Cx\)Application
Affected:< 3.5.18.0
Control Win SlApplication
Affected:< 3.5.18.0
Development SystemApplication
Affected:< 3.5.18.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed CODESYS products
    Open Windows Control Panel > Programs and Features, or use PowerShell: Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -like '*CODESYS*'} | Select-Object Name, Version
    Affected if Any of these products appear: Codesys Control Rte Sl, Codesys Control Rte Sl (for Beckhoff Cx), Codesys Control Win Sl, or Codesys Development System
  2. Verify CODESYS product version
    In Programs and Features, check the Version column for the installed CODESYS product, or right-click the installed CODESYS application > Properties > Details to view version information
    Affected if The displayed version is less than 3.5.18.0 (for example, 3.5.17.10 or any version starting with 3.5.x below 3.5.18.0)
  3. Check for SysDrv3S kernel driver presence
    Open Device Manager > View > Show hidden devices. Expand 'System devices' or check for a driver named 'SysDrv3S'. Alternatively, check the Windows system32/drivers folder for SysDrv3S.sys file
    Affected if The SysDrv3S driver file exists on the system, particularly with a version below 3.5.18.0
  4. Confirm driver version if file exists
    Right-click SysDrv3S.sys file > Properties > Details tab > File Version. Or use PowerShell: (Get-Item 'C:\Windows\System32\drivers\SysDrv3S.sys').VersionInfo
    Affected if The driver file version is present and is less than 3.5.18.0

A system is affected if it has any of the listed CODESYS products installed with a version below 3.5.18.0, and the SysDrv3S driver is present on the system.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.5.18.0 or later
Fixed in 3.5.18.0
Interim mitigation

Apply the vendor-supplied patch for CODESYS Control to address the SysDrv3S driver vulnerability. Verify the patched driver version and confirm the runtime system functions correctly after the update.

Recommended fix High confidence

CODESYS Control runtime version 3.5.18.0 or later

  1. Obtain CODESYS Control runtime version 3.5.18.0 or later from official CODESYS sources (shop.codesys.com or through your CODESYS account)
  2. Backup current CODESYS Control runtime configuration and projects
  3. Uninstall or stop the current CODESYS Control runtime services
  4. Install the updated CODESYS Control runtime version 3.5.18.0 or newer
  5. Start the CODESYS Control runtime services
  6. Verify the SysDrv3S driver is now properly restricted and the vulnerability is resolved
Caveat Standard upgrade risk - test in non-production environment first; verify compatibility with existing projects and any custom SoftPLC configurations

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Control Rte Sl Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,580
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,128.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-22516 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-22516 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data