I've posted on the cyrus-sasl list and now created a new bug report [1] for the issue, with the proposed patch by Viktor Dukhovni as a starting point (after all, the other modules might need to be patched as well - didn't check).
[1] https://bugzilla.cyrusimap.org/show_bug.cgi?id=3906 Thanks, -- Patrick Wagner