An authenticated remote attacker can execute arbitrary code in Firebird SQL Server versions 2.5.7 and 3.0.2 by executing a malformed SQL statement.
https://lists.debian.org/debian-lts-announce/2021/11/msg00018.html
https://lists.debian.org/debian-lts-announce/2020/02/msg00036.html
https://lists.debian.org/debian-lts-announce/2018/05/msg00005.html