.

Release Notes: CODESYS V3.5 SP22 Patch 4

Key Issue Type Summary Resolution Note
CDS-99278 Improvement

CLONE - CmpRedundancy: Protocol should be more resilient for lost UDP messages

Won't Fix [[GENERAL]]
The improvement will not be backported to the 3.5.22.40 because the implementation was not completed in time.
CDS-99257 Bug

CLONE - Internal Error: Initializing Child-FB with variables from Parent-FB-Method results in a NullReferenceException

Fixed [[GENERAL]]
CompilerVersion >= 3.5.22.40
CDS-99186 Bug

CLONE - Compiler: Online change not possible (download required) if calling method in FBD which returns a REFERENCE TO FB

Fixed [[GENERAL]]
CompilerVersion >= 3.5.22.40
CDS-99185 Bug

CLONE - Precompile: Checking nested function calls may take very long time

Fixed
CDS-99182 Improvement

CLONE - Update to CodeMeter version 8.41a

Fixed
CDS-99174 Bug

CLONE - Logger: Usability problems and add hook for OEM to revert to old logger

Fixed [[GENERAL]]
No customization hook was added, because the fix reverts back to the old logger functionality automatically if no log messages are found for the last 24h.
Please note that the old logger functionality is less suited for dealing with large log files than the new "DateTime"-based logger.
CDS-99173 Bug

CLONE - CODESYSControl: Security issues in Expat versions before 2.8.4

Fixed
CDS-99125 Bug

CLONE - qs_gateway_x86 & qs_gateway_x64: `deploy` make target does not copy libusb-1.0.dll

Cannot Reproduce
CDS-99124 Bug

CLONE - Exception in IEC generated code : Assign Bool FB Array Outputs to BIT Values of ARRAY of Structs

Fixed [[GENERAL]]
CompilerVersion >= 3.5.22.40
CDS-99111 Bug

CLONE - Security issues in System.Data.SQLite versions before 2.0.4 containing SourceGear.sqlite3 3.53.4

Fixed
CDS-99106 Bug

CLONE - CODESYSControl: Security issues in Expat versions before 2.8.3

Fixed
CDS-99105 Bug

CLONE - CmpOpenSSL: Minor bugs in online service handler implementation

Fixed
CDS-99104 Bug

CLONE - SVG-Renderer: Security issues in OSS versions before (libcurl 8.21.0)

Fixed
CDS-99014 Bug

CLONE - SysEthernetVxWorks.c : SysEthernetGetInterfaceCounters( ) can cause page fault exception

Fixed
CDS-99013 Bug

CLONE - Compile: Error C0292 generated when using attribute to_string on INTERNAL enum in library

Fixed
CDS-99008 Bug

CLONE - CmpOpenSSL: Incorrect implementation of the search for a valid certificate after the expiration of the currently valid one

Fixed
CDS-99006 Bug

CLONE - C0141: Error is raised with SP22 when using Reference property as input but not with earlier service packs

Fixed [[GENERAL]]
Compilerversion >= 3.5.22.40
CDS-98978 Bug

CLONE - CmpUsbMpdUsbLib: Security issues in LibUsb versions before 1.0.30

Fixed
CDS-98975 Bug

CLONE - [Options Window] Seetings overlaps if language is set to "chinese"

Fixed
CDS-98974 Bug

CLONE - M4 Generator : Referencing IEC libs can cause redefinition of types and abort

Fixed
CDS-98971 Bug

CLONE - GWClient: Rare "use after free" condition, caused by high load

Won't Fix [[GENERAL]]
This issue cannot be addressed in the current patch, as no fix is available yet. It will be resolved in a future release.
CDS-98970 Bug

CLONE - SysCpuMultiCoreLinux: cpuset.cpus.effect is hard coded

Fixed
CDS-98969 Bug

CLONE - CODESYSControl: Security issues in Expat versions before 2.8.2

Fixed
CDS-98968 Bug

CLONE - IntelliSense: Unhandled exception in case of old compiler version

Fixed
CDS-98966 Improvement

CLONE - Adapt Security-Setting from SECURITY.RSAMinKeyLen to SECURITY.RSAKeyLenMin

Fixed
CDS-98965 Bug

CLONE - Exception in generated code with property assignment in for loop

Fixed [[GENERAL]]
Compiler Version >= 3.5.22.40
CDS-98820 Bug

CLONE - Compiler: Function is linked if check in unused defined-pragma

Fixed [[GENERAL]]
Compiler Version >= 3.5.22.40
CDS-98804 Bug

CLONE - Potential Stack overflow exception on Project update to CompilerVersion >= 3.5.22.0

Fixed
CDS-98797 Improvement

CLONE - PLCShell: Add support for `ownChain` trust level

Fixed
CDS-98792 Bug

CLONE - Monitoring an unused property: Runtime system crashes

Won't Fix [[GENERAL]]
If a property with {attribute 'monitoring' := 'call'} has a Get accessor that reads the property itself (e.g. P_Test := THIS^.P_Test;), monitoring this property executes the accessor on the controller, causing an endless recursion. The resulting stack overflow terminates the runtime system without a log entry.

This cannot be prevented reliably in the Development System: the recursion is not statically detectable. The runtime system must survive the stack overflow and report it as a monitoring error instead of terminating. This is tracked in CDS-98866.

Workaround: Remove the self-reference from the property accessor.
CDS-98791 Bug

CLONE - Tabular Declaration Editor: Exception when using comment with '///'

Fixed
CDS-98790 Bug

CLONE - IECTextEditor: Deletion of unicode character does not delete the character completely

Fixed
CDS-98789 Improvement

CLONE - CmpTls : There should be more than ten available TLSContexts

Fixed
CDS-98761 Bug

CLONE - CmpUserMgr.library: Does not work in simulation runtime

Fixed
CDS-98760 Improvement

CLONE - Extend OnlineX509TrustLevel to support certificate chain trust levels

Fixed
CDS-98747 Improvement

CLONE - CodeMeter CmEmbedded / VxWorks: Support for ARM64

Won't Fix [[GENERAL]]
Not fixed in this patch – the defect is located in a third-party component and no supplier fix is available yet; it will be resolved once the upstream fix is delivered.
CDS-98746 Bug

CLONE - RawST-Parser: Parser consumes full input on incomplete variable declaration, including implementation and subsequent POUs

Won't Fix [[GENERAL]]
Won't fix. Risk of regressions/accidents too high.
CDS-98675 Bug

CLONE - ProjectLoading/ProjectLoaded event provides Stream.Null instead of the project stream

Fixed
CDS-98674 Bug

CLONE - CmpMonitor2: Sporadic read failure

Fixed [[GENERAL]]
For more details see CODESYS Security Advisory 2026-12, which is available on the CODESYS website:
https://api-www.codesys.com/fileadmin/user_upload/CODESYS_Group/Ecosystem/Up-to-Date/Security/Security-Advisories/Advisory2026-12_CDS-94929.pdf
CDS-98624 Bug

CLONE - Linux RemoteTargetvisu Client: crash when scan dialog is maximized

Fixed [[GENERAL]]
This issue was fixed by making the network scan dialog of the Remote Targetvisualization in Linux resizable (if supported by the used windowing system).
CDS-98618 Improvement

CLONE - [Dev] Add method OnProjectSaveFinished to the interface IProjectFormat

Fixed
CDS-98598 Bug

CLONE - LibMan: Libraries not correctly resolved if two devices are created through scripting

Fixed
CDS-98553 Bug

CLONE - [Project Metrics] Task Group Assignment doesn't detect "Free Floating" CPU Core

Won't Fix [[GENERAL]]
Won't fix because of a high risk of accidents.
CDS-98484 Bug

CLONE - Native import conflict resolution: Replacing device object is not working

Fixed
CDS-98387 Bug

CLONE - Denial of Service of gateway client when gateway port is attacked

Fixed [[GENERAL]]
For more details see CODESYS Security Advisory 2026-11, which is available on the CODESYS website:
https://api-www.codesys.com/fileadmin/user_upload/CODESYS_Group/Ecosystem/Up-to-Date/Security/Security-Advisories/Advisory2026-11_CDS-98296.pdf
CDS-98356 Bug

CLONE - Generate Code: Internal Error C0367) on minor Online Change

Fixed [[GENERAL]]
Compilerversion >= 3.5.22.40

 

CODESYS AddOns Version
CODESYS Automation Server Connector 1.39.0.0
CODESYS Base Libraries 4.0.1.0
CODESYS SoftMotion 4.20.2.0
CODESYS Security Agent 1.5.0.0
CODESYS Core Dump 4.2.0.0
CODESYS Code Generator ARM 4.0.4.0
CODESYS Code Generator ARM64 4.0.2.0
CODESYS Code Generator Cortex M3 4.0.2.0
CODESYS Code Generator PowerPC 4.0.2.0
CODESYS Code Generator TriCore 4.0.1.0
CODESYS Compiler Versions Archive 4.0.0.0
CODESYS Communication 4.8.0.0
CODESYS RISC Front End 4.0.3.0
CODESYS Target Settings Export 4.0.0.0
CODESYS Trace 4.4.0.0
CODESYS IO-Link 4.4.0.0
CODESYS Safety Support 4.1.0.0
CODESYS Redundancy Configuration 4.3.0.0
CODESYS NetX 4.1.0.0
CODESYS Memory Tools 4.1.0.0
CODESYS Modbus 4.6.0.0
CODESYS Ethernet Adapter 4.2.0.0
CODESYS EtherCAT 4.12.0.0
CODESYS CANopen 4.4.0.0
CODESYS EDS Import 4.3.0.0
CODESYS EtherNetIP 4.9.1.0
CODESYS PROFIBUS 4.2.0.0
CODESYS SAE J1939 4.2.0.0
CODESYS PROFINET 4.8.0.0
CODESYS Scripting 4.2.0.0
CODESYS Recipes 4.7.0.0
CODESYS Embedded Runtime Extension 4.1.0.0
CODESYS Device Reader 4.0.0.0
CODESYS Visualization Support 4.7.0.0
CODESYS Visualization 4.10.0.0
CODESYS CFC 4.5.0.0
CODESYS Application Composer 4.5.0.0
CODESYS LD FBD 4.7.0.0
CODESYS SFC 4.4.0.0
CODESYS Ladder 1.3.0.0
CODESYS Usage Analysis 1.2.0.0
CODESYS String Libraries 4.1.0.0
CODESYS Library Dependency Inspection 1.1.0.0
CODESYS Math Libraries 4.0.1.0