Back to overview

CODESYS Development System - Deserialization of Untrusted Data

VDE-2025-101
Last update
12/01/2025 11:00
Published at
12/01/2025 11:00
Vendor(s)
CODESYS GmbH
External ID
Advisory2025-11_VDE-2025-101
CSAF Document

Summary

A vulnerability has been discovered in the print engine of the CODESYS development system. If a CODESYS project file or archive file was crafted in a specific way, the CODESYS development system could execute arbitrary code when a user opens these files and configures the print/printer options or prints the project or parts of it. This arbitrary code would be executed in the context of the user who was tricked into opening the project.

Impact

The CODESYS development system deserializes potentially untrusted data and thereby executes arbitrary code when a user opens and edits a deliberately manipulated CODESYS project file with a CODESYS development system. This arbitrary code is executed in the user context and can compromise system integrity, confidentiality, and availability.

Affected Product(s)

Model no. Product name Affected versions
CODESYS Development System <3.5.21.40 CODESYS Development System <3.5.21.40

Vulnerabilities

Expand / Collapse all

Published
12/01/2025 11:14
Weakness
Deserialization of Untrusted Data (CWE-502)
Summary

An unauthenticated attacker can trick a local user into executing arbitrary code by opening a deliberately manipulated CODESYS project file with a CODESYS development system. This arbitrary code is executed in the user context.

References

Mitigation

Open/install CODESYS archives, projects and packages from trustworthy sources only.

Remediation

Update the following products to version 3.5.21.40.
* CODESYS Development System

When existing CODESYS project files are opened with a fixed CODESYS Development system version, the option keys "PageSettings" and "PrinterSettings" are now obsolete and will be reset. As a result printer and page settings will be lost and have to be reconfigured. Only these specific parts of "Project Options -> Page Setup" are dropped by the update. The configured Header, Footer, TitlePage and Document options will be kept.

The CODESYS Development System can be downloaded and installed directly with the CODESYS Installer or be downloaded from the CODESYS Store. Alternatively, as well as for all other products, you will find further information on obtaining the software update in the CODESYS Update area https://www.codesys.com/download/.

Acknowledgments

CODESYS GmbH thanks the following parties for their efforts:

  • CERT@VDE for coordination (see https://www.certvde.com )
  • MengyuXia from Beijing Aerospace Wanyuan Science & Technology Co, Ltd. for reporting

Revision History

Version Date Summary
1.0.0 12/01/2025 11:00 Initial revision.