The issue is caused by a buffer overflow in the `decodearr` function in `ntpq`, which is part of the NTP protocol implementation. This allows a remote attacker to execute arbitrary code by sending a response with a crafted array to an `ntpq` query. Additionally, there is a risk of Sybil attacks from authenticated peers, where an attacker could create multiple ephemeral associations to win the clock selection of `ntpd` and modify a victim's clock.