Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain access to 5G core SBI network
-
DeliverySend crafted NRF discovery failure to AMF
-
ExploitTrigger old AMF discovery fallback path
-
ExecutionDereference freed sbi_xact/discovery_option memory
-
ImpactCrash AMF process or corrupt heap
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) network access to the AMF's SBI (Service Based Interface) port, which is an HTTP/2 interface typically confined to the operator's internal 5G core network and not exposed to the public internet or end-user devices; (2) ability to induce or simulate a failed NRF-based AMF discovery, triggering the |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with score 6.9) rates all complexity and privilege metrics at their easiest values, which overstates ease of exploitation. Triggering the old AMF discovery fallback requires a specific failure condition in the NRF discovery exchange - not a straightforward unauthenticated request to any exposed endpoint - placing realistic attack complexity at HIGH rather than LOW. The SBI interface between 5G core functions is also typically confined to a trusted operator-controlled network, reducing real-world exposure significantly. Impact is primarily availability (AMF process crash, which would disrupt mobility and session management for attached UEs) with limited memory-disclosure and corruption potential consistent with a UAF. No KEV listing and no confirmed POC exist at time of analysis, and EPSS data was not provided. Overall, this is a real-but-moderate-priority vulnerability for 5G core operators: the UAF primitive is serious, but exploitability is bounded by network topology and the requirement to trigger a specific error code path. |
| Exploit ScenarioDerived | An attacker with access to the 5G core SBI network segment sends a crafted or manipulated NRF discovery response that causes |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 15, 2026
Use-after-free in Open5GS AMF component versions 2.0.x through 2.7.x allows network-reachable attackers to corrupt memory in the Access and Mobility Management Function process by triggering the old AMF discovery fallback handler with a crafted interaction. The root cause is premature deallocation of the SBI transaction structure (ogs_sbi_xact_remove) before the discovery_option argument derived from that structure is fully consumed; the fix relocates the free call past all dependent uses. No public exploit code has been identified; an upstream patch commit is available.
RemediationAI
Apply the upstream patch by upgrading to an Open5GS build that incorporates commit ddd683a35f8aaac2b7b9884a24cd53bddfc65238 (https://github.com/open5gs/open5gs/commit/ddd683a35f8aaac2b7b9884a24cd53bddfc65238). The fix is available via PR #4698; a tagged release version containing this fix has not been independently confirmed at time of analysis - operators should verify against the upstream changelog. As a compensating control, restrict SBI interface exposure so that the AMF's N-APIs are reachable only from trusted, authenticated 5G core components within the operator's network; this reduces the realistic attack surface significantly and is standard 5G core hardening regardless of this CVE. Disabling the old AMF discovery fallback path is not a viable workaround as it affects core mobility signaling continuity.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Open5GS is an open-source 5G core network implementation. Its AMF (Access and Mobility Management Function) communicates with the NRF (Network Repository Function) over the SBI (Service Based Interface), an HTTP/2-based API mesh defined by 3GPP. When NRF-based AMF discovery fails, amf_nnrf_handle_failed_amf_discovery() in src/amf/nnrf-handler.c invokes the old AMF discovery fallback path. The bug (CWE-416) is that ogs_sbi_xact_remove(sbi_xact) was placed at line ~286, freeing the SBI transaction and its associated discovery_option memory, while code at lines ~340+ continued to dereference discovery_option from that freed allocation. The patch (commit ddd683a35f8aaac2b7b9884a24cd53bddfc65238, PR #4698) moves the remove call to after all uses of the transaction, eliminating the dangling pointer. The CPE string cpe:2.3:a:n/a:open5gs:* identifies all Open5GS 2.x versions up to 2.7.x as affected, consistent with the EUVD enumeration of 2.0 through 2.7.
Know when Open5gs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
Triggering the specific failed-discovery fallback path requires non-trivial error conditions (AC:H); primary impact is AMF crash (A:H) with limited memory side effects.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A security flaw has been discovered in Open5GS up to 2.7.x. Affected is the function amf_nnrf_try_old_amf_discovery_fallback of the file src/amf/nnrf-handler.c of the component Old AMF Discovery Fallback. The manipulation of the argument discovery_option results in use after free. The attack may be performed from remote. The patch is identified as ddd683a35f8aaac2b7b9884a24cd53bddfc65238. Applying a patch is advised to resolve this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
open5gs v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Open5GS v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
A request-validation issue was discovered in Open5GS 2.1.3 through 2.2.x before 2.2.1. Rated critical severity (CVSS 9.8
Memory corruption in Open5GS versions through 2.7.1 is remotely exploitable via the freeDiameter protocol component, all
Open5GS 2.1.3 listens on 0.0.0.0:3000 and has a default password of 1423 for the admin account. Rated high severity (CVS
Open5GS MME versions <= 2.6.4 contain a reachable assertion in the `Uplink NAS Transport` packet handler. Rated high sev
Open5GS MME version <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the
Open5GS MME versions <= 2.6.4 contain an assertion that can be remotely triggered via a malformed ASN.1 packet over the
Open5GS MME versions <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the
EUVD-2026-77377
GHSA-wxvq-3xfq-q746
NVD
CVE.org
EPSS
VulDB
Exploit-DB