The OPC autogenerated ANSI C stack stubs (in the NodeSets) do not handle all error cases. This can lead to a NULL pointer dereference.
https://www.youtube.com/watch?v=qv-RBdCaV4k
https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-31899
https://cert-portal.siemens.com/productcert/pdf/ssa-285795.pdf