OSCAT Basic Library
OSCAT Basic Library versions 3.3.5 and earlier contain an out-of-bounds read vulnerability (CWE-125) in the MONTH_TO_STRING function. An attacker with local access can pass a negative value as a function parameter, bypassing input validation. Successful exploitation allows reading limited internal PLC data or crashing the affected service. CODESYS has released version 3.3.5.0 as a fix. Alternatively, applications can mitigate by validating all function inputs in the PLC program to reject negative values before they reach MONTH_TO_STRING.
- Local access to the PLC or engineering workstation running OSCAT Basic Library
- Ability to pass invalid input (negative values) to the MONTH_TO_STRING function
Patching may require device reboot — plan for process interruption
/api/v1/advisories/75ca8ec6-9e2f-4fc5-bfce-79dd2ab047afGet OT security insights every Tuesday
Advisory breakdowns, a weekly summary, and incident analyses for the people actually defending OT environments. Free, no account required.