Hi,
I found a bug in the decryption routine of gpg with the help of afl and asan. It arises from the addition of the line 1145 through which it is possible to decrement the pktlen variable five times even if it only has the value of 4. Since it is and unsigned long int this leads to undefined behaviour later on in the code. The risk of exploitation is mitigated by the assertation on line 1209.
cheers
jfe