CVE-2026-138038 in Open5GS
Summary
by MITRE • 11/28/2026
A vulnerability has been found in Open5GS 2.8.0. This impacts the function nrf_nnrf_handle_nf_discover of the file src/nrf/nnrf-handler.c of the component NRF. The manipulation leads to reachable assertion. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of the patch is dbc35e6aadeb3f6ef3e028a8b52ee3cf5920082e. It is recommended to apply a patch to fix this issue.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/28/2026
The vulnerability identified in Open5GS version 2.8.0 represents a critical security flaw within the Network Repository Function, specifically affecting the nrf_nnrf_handle_nf_discover function located in the src/nrf/nnrf-handler.c source file. This component is integral to the 5G core network architecture, serving as the central directory for service discovery and registration among various network functions. The nature of this flaw allows an attacker with remote access capabilities to trigger a reachable assertion failure within the application logic. An assertion failure typically indicates that the software has encountered a condition it deems impossible or invalid during execution, leading to an abrupt termination of the process rather than graceful error handling. In the context of a core network function like NRF, such a crash can result in a denial of service for all dependent services relying on discovery and registration capabilities, effectively disrupting connectivity and communication within the 5G infrastructure.
From a technical perspective, this vulnerability is classified under CWE-617, which refers to Reachable Assertion. This category encompasses situations where an assertion condition that should never be true can actually be reached due to improper input validation or logic errors in the code path. The presence of public exploit material significantly elevates the risk profile of this issue, as it lowers the barrier for entry for malicious actors who may not possess advanced reverse engineering skills but have access to existing proof-of-concept tools. The ability to initiate this attack remotely implies that no local authentication or physical proximity is required, making it a high-severity threat vector against exposed 5G core deployments on public-facing networks or poorly segmented internal environments.
The operational impact of exploiting this vulnerability extends beyond simple service disruption. Since the NRF plays a pivotal role in authenticating and authorizing network function interactions via the Nnrf interface, its unavailability can cascade into broader systemic failures within the telecommunications provider's infrastructure. Attackers could leverage this denial-of-service condition to mask other malicious activities or create instability that forces manual intervention by system administrators, thereby increasing operational costs and potential downtime. Furthermore, if the assertion failure leads to memory corruption states before termination, there may be secondary implications related to information disclosure or code execution, although the primary documented impact remains service availability disruption through process crash.
To mitigate this risk, immediate application of the patch identified as dbc35e6aadeb3f6ef3e028a8b52ee3cf5920082e is strongly recommended for all instances running Open5GS 2.8.0 or affected versions. Organizations should verify their deployment configurations to ensure that the NRF component is updated to a version where this assertion handling has been corrected, likely involving improved input validation and robust error recovery mechanisms rather than relying on fatal assertions for invalid states. Additionally, network segmentation strategies should be reviewed to restrict access to the Nnrf interface from untrusted networks, ensuring that only authorized network functions can communicate with the NRF. Continuous monitoring of system logs for assertion failures or unexpected process restarts is also advised to detect potential exploitation attempts in real-time and maintain the integrity of the 5G core environment.