Errata patches for bgpd have been released for OpenBSD 7.1 and 7.2. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective errata page:
https://www.openbsd.org/errata71.html https://www.openbsd.org/errata72.html