CVE-2024-6876
CVE-2024-6876 is a medium-severity out-of-bounds read vulnerability in the OSCAT Basic Library, published by CISA on 2024-11-21. The flaw allows a local, unprivileged attacker to access limited internal PLC data and potentially crash the affected service. The vulnerability affects CODESYS OSCAT Basic Library version 3.3.5.0 and earlier versions of the oscat.de OSCAT Basic Library (<=3.3.5 and <=335). CODESYS GmbH has released version 3.3.5.0 to address this issue. Users must update the library in the Library Manager, then perform a download or online change to update the PLC application and rebuild the boot application. As a workaround without updating, validate all values before passing to affected functions—specifically blocking negative values as parameters to MONTH_TO_STRING.