The S/MIME specification allows a Cipher Block Chaining (CBC) malleability-gadget attack that can indirectly lead to plaintext exfiltration, aka EFAIL.
https://www.synology.com/support/security/Synology_SA_18_22
https://twitter.com/matthew_d_green/status/996371541591019520