CVE-2026-138038: Open5GS 5G Core Flaw Can Crash Networks

A new vulnerability in Open5GS, the open-source software used to build 5G mobile cores, can be triggered remotely to crash a central part of the network. The flaw, tracked as CVE-2026-138038, was published on 28 November 2026, and a public exploit is already available, so operators running the affected version should patch without delay.
The vulnerability sits in the Network Repository Function, or NRF, the component that acts as the directory of a 5G core. Every other network function registers with the NRF and asks it where to find the services it needs. If the NRF stops working, new connections and services cannot be set up, even though existing calls and data sessions may keep running for a time.
What the flaw does
The problem is in the function nrf_nnrf_handle_nf_discover, in the file src/nrf/nnrf-handler.c of Open5GS 2.8.0. According to the CVE record, crafted input sent to this function reaches an assertion, a check the code assumes will always hold, and the program stops when that assumption fails. The weakness is classified as CWE-617, a reachable assertion. Because the malicious request can be sent over the network, an attacker needs no account on the system and no access to the operator's premises. The CVE record states that the exploit has been disclosed to the public and may be used.
The result is a denial of service: the NRF process crashes. In a live core, network functions would no longer be able to discover each other until the service is restarted, and any new session that needed a fresh lookup would fail. Open5GS is used by researchers, private 5G testbeds and operators trialling open 5G cores, so any deployment with its NRF reachable from an untrusted network is exposed.
How serious is it
VulDB, the organisation that published the CVE record, scores the flaw 6.9 under CVSS 4.0 and 5.3 under CVSS 3.1, both in the medium range. The score reflects that the flaw affects availability only: the record lists no impact on confidentiality or integrity. That should not be read as harmless. A crashed NRF is an outage for every service that depends on it, and a public exploit lowers the skill needed to trigger it. The flaw is not flagged in CISA's Known Exploited Vulnerabilities catalog, and no exploitation in the wild has been reported.
What operators should do
Open5GS has published a patch, identified by commit dbc35e6aadeb3f6ef3e028a8b52ee3cf5920082e, and the CVE record recommends applying it. Operators should update to a patched version of Open5GS as soon as their change window allows, and restart the affected services. Until the patch is in place, access to the NRF should be limited to trusted network functions only, and operators should watch for unexpected NRF restarts, which would be a sign that the flaw is being probed. The flaw was reported through GitHub issue 4856 and fixed in pull request 4941.
The same day brought a second Open5GS denial-of-service flaw, CVE-2026-138039, in the Session Management Function, which handles subscriber data sessions. The two flaws are separate, affect different components and carry different patches, so each needs its own fix.