GnuPG can be made to spin on a relatively small input by (for example) crafting a public key with thousands of signatures attached, compressed down to just a few KB.
https://security.netapp.com/advisory/ntap-20230324-0001/
https://marc.info/?l=oss-security&m=165696590211434&w=4