The vulnerability is a denial-of-service in Ella Core's AMF component, as described in GHSA-j478-p7vq-3347. The root cause is an out-of-bounds read when processing a crafted NGAP PathSwitchRequest message. Analysis of the associated pull request (#1099) and its commit b26ecf3c10975d51a40ec8295cea05b2e0f376f4 points directly to the vulnerable function. The patch was applied to internal/amf/ngap/handle_path_switch_request.go, specifically within the HandlePathSwitchRequest function. Before the fix, the code did not validate the length of the NRencryptionAlgorithms and NRintegrityProtectionAlgorithms byte slices before accessing index [0]. This oversight would cause a panic if an empty slice was provided, crashing the service. The identified vulnerable function, ngap.HandlePathSwitchRequest, is the exact location where this lack of validation occurs and would be the function appearing in a stack trace during exploitation.