Crypt::OpenPGP versions before 1.22 for Perl crash (die) when processing malformed messages during verify and decrypt operations instead of returning an error as expected. This behavior occurs due to improper validation of packet types before cryptographic checks, allowing crafted messages to terminate processes unexpectedly.