CVE-2021-21865
CODESYS Development System vulnerability analysis and mitigation

Overview

An unsafe deserialization vulnerability (CVE-2021-21865) exists in the PackageManagement.plugin ExtensionMethods.Clone() functionality of CODESYS GmbH CODESYS Development System 3.5.16. The vulnerability was discovered in May 2021 and publicly disclosed on July 26, 2021. The affected software is the CODESYS Development System, which is an IEC 61131-3 programming tool for industrial control and automation technology, available in both 32-bit and 64-bit versions (Talos Report).

Technical details

The vulnerability exists in the BinaryFormatter.Deserialize method within the Clone() functionality. The deserialization that occurs is vulnerable to exploitation via copy/paste functionality within the Package Designer tree view. The BinaryFormatter.Deserialize method is inherently unsafe when used with untrusted input. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 HIGH (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) and is classified as CWE-502 (Deserialization of Untrusted Data) (NVD, Talos Report).

Impact

A successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the victim machine through a specially crafted file. The vulnerability has high potential impact on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

CODESYS has released patches to address this vulnerability. Users are strongly encouraged to update to a patched version of the software. The fix was coordinated between Cisco Talos and CODESYS Group to ensure the issue was resolved (Talos Report).

Additional resources


SourceThis report was generated using AI

Related CODESYS Development System vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-41700HIGH7.8
  • CODESYS Development SystemCODESYS Development System
  • cpe:2.3:a:codesys:development_system
NoYesDec 01, 2025
CVE-2023-5751HIGH7.8
  • CODESYS Development SystemCODESYS Development System
  • cpe:2.3:a:codesys:development_system
NoYesJun 04, 2024
CVE-2023-49675HIGH7.8
  • CODESYS Development SystemCODESYS Development System
  • cpe:2.3:a:codesys:development_system
NoNoMay 06, 2024
CVE-2023-37559MEDIUM6.5
  • CODESYS Development SystemCODESYS Development System
  • cpe:2.3:a:codesys:development_system
NoYesAug 03, 2023
CVE-2023-37558MEDIUM6.5
  • CODESYS Development SystemCODESYS Development System
  • cpe:2.3:a:codesys:development_system
NoYesAug 03, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management