The issue has been fixed with the latest release of protobuf>=5.28.3
So you just need to reinstall or upgrade.