An issue was discovered in Open5GS v2.7.2. When a UE switches between two gNBs and sends a handover request at a specific time, it may cause an exception in the AMFs internal state machine, leading to an AMF crash and resulting in a Denial of Service (DoS).
The code does not sufficiently manage its control flow during execution, creating conditions in which the control flow can be modified in unexpected ways.