I can reproduce on ppc64le as a result of distro-morphing Debian Bookworm to Kicksecure. Not sure how to fix it though. Comparing Bullseye to Bookworm:
That library was moved from /usr/lib/sudo/ to /usr/libexec/sudo/. Given the nature of libexec, it sounds like Systemcheck shouldn’t be using it since Systemcheck isn’t part of sudo?
systemcheck internally uses sudo. But without any fancy stuff. It’s just a big compilation of standard system commands. So this most likely can (and need to) be reduced to a command that would also fail outside of system check.
You could enable bash xtrace with the handy --debug switch.
systemcheck --debug
Full log probably not required. Just the last few lines before the error. Once that’s nailed down, probably the bug can be reproduced without systemcheck.