A flaw was found in the way certificate signatures could be forged using collisions found in the SHA-1 algorithm. An attacker could use this weakness to create forged certificate signatures. This issue affects GnuPG versions before 2.2.18.
https://www.cisa.gov/news-events/ics-advisories/icsa-24-284-16
https://usn.ubuntu.com/4516-1/
https://rwc.iacr.org/2020/slides/Leurent.pdf
https://lists.gnupg.org/pipermail/gnupg-announce/2019q4/000442.html