Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain SBI network access (compromised NF or weak mTLS)
-
DeliveryCraft UE context transfer request with oversized allowedNssai array
-
ExploitSend HTTP/2 POST to AMF Namf_Communication endpoint
-
ExecutionTrigger unbounded loop iteration in amf_namf_comm_decode_ue_mm_context_list
-
PersistMemory corruption causes AMF process crash
-
ImpactUE registration and mobility service interrupted
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
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 the attacker to send a crafted HTTP/2 SBI request to the AMF's Namf_Communication interface - specifically the UE context transfer endpoint. PR:L in the CVSS vector indicates some level of authenticated or credentialed access is required; in 5G SBI architecture this typically means the attacker must present as a legitimate network function (e.g., a registered SMF or peer AMF), either by compromising an internal NF or by operating in an environment with weak SBI authentication (no mutual TLS or NF authentication). The AMF must be running Open5GS version 2.7.7 or earlier. The corruption is triggered specifically when the mmContextList[*].allowedNssai or nssaiMappingList arrays in the UE MM context payload contain more entries than OGS_MAX_NUM_OF_SLICE. There is no requirement for a specific non-default configuration: the vulnerable code path is in the standard UE context transfer handler active in any AMF deployment. Exploitation is limited by the PR:L requirement - unauthenticated external attackers on the internet cannot reach the SBI interface without some foothold inside the 5G core network. |
| Impact | Real-world risk is constrained but operationally meaningful for telecom deployments. The CVSS 4.0 score of 2.1 reflects limited impact (VA:L only - no confidentiality or integrity impact), network reachability with low-privilege authentication requirement (PR:L), and low attack complexity. The E:P supplemental metric confirms publicly disclosed exploit code exists, elevating urgency above a theoretical flaw. KEV status is not confirmed, indicating exploitation has not been observed at scale by CISA. EPSS data is not provided in the input; given the niche deployment footprint of open-source 5G core software and the PR:L requirement, broad opportunistic exploitation is unlikely. The primary risk is targeted disruption of AMF availability in research, laboratory, or small operator 5G deployments - crashing the AMF would interrupt UE registration and mobility for all active subscribers on that instance. No scope change is indicated (SC:N/SI:N/SA:N), confining blast radius to the vulnerable AMF process itself. The assert-based original code may behave differently in debug vs. release builds, potentially masking the severity in some configurations. |
| Exploit ScenarioDerived | A low-privileged attacker who controls or has compromised a network function with SBI access - such as a rogue SMF or a peer AMF in a federated deployment - crafts a Namf_Communication UE context transfer request containing a mmContextList entry with an allowedNssai array exceeding OGS_MAX_NUM_OF_SLICE entries. When the AMF processes this request in amf_namf_comm_decode_ue_mm_context_list, the missing bounds check causes memory corruption (buffer overwrite or assert-triggered abort), crashing the AMF process and interrupting service for all UEs managed by that instance. A public proof-of-concept has been disclosed (E:P in CVSS 4.0 vector). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Memory corruption in Open5GS versions up to 2.7.7 allows a low-privileged remote attacker to crash the Access and Mobility Management Function (AMF) by sending a crafted UE MM context transfer request with an oversized allowedNssai array. The vulnerable function amf_namf_comm_decode_ue_mm_context_list in src/amf/namf-handler.c lacked both null-pointer checks and array bounds enforcement on mmContextList[*].allowedNssai entries, relying instead on ogs_assert() which terminates the process rather than handling the error gracefully. No public exploit is confirmed in CISA KEV, but the CVSS 4.0 vector carries E:P indicating publicly disclosed exploit code exists.
RemediationAI
Upgrade Open5GS to version 2.8.0, which contains the complete fix via commit abf8a836564b966b5141110fc25ed413c4f17522. The release is available at https://github.com/open5gs/open5gs/releases/tag/v2.8.0. For deployments where immediate upgrade is not feasible, compensating controls should focus on restricting access to the AMF's SBI interface: enforce network-level ACLs so only authorized network functions (SMF, SEPP, peer AMFs) can reach the Namf_Communication API endpoint, reducing the pool of potential abusers. This does not eliminate the vulnerability but limits exploitation to already-trusted internal network function credentials. Additionally, ensure AMF processes are supervised by a process manager (systemd, Kubernetes liveness probes) so that a crash-induced DoS self-recovers quickly. Applying the source patch manually to earlier branches is feasible given the patch is a self-contained set of null checks and bounds guards in a single file.
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 implementation of the 3GPP 5G core network stack. The AMF (Access and Mobility Management Function) exposes a Service-Based Interface (SBI) via HTTP/2 - the Namf_Communication API - through which other network functions perform UE context transfers during handover. The vulnerable code path in amf_namf_comm_decode_ue_mm_context_list iterates over mmContextList entries, processing each entry's allowedNssai (Network Slice Selection Assistance Information) list. Pre-fix, the code used ogs_assert(num_of_s_nssai < OGS_MAX_NUM_OF_SLICE) to guard against overflow - an assertion that either aborts the process or is compiled out in release builds - and similarly used ogs_assert for nssaiMappingList bounds. Both MmContext and AllowedNssai pointers were also dereferenced without null checks. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) covers this class: insufficient input validation allows a caller-supplied array to exceed a fixed internal buffer. The fix (commit abf8a836564b966b5141110fc25ed413c4f17522, released in v2.8.0) replaces fatal asserts with conditional break/continue logic and adds explicit null guards throughout the decode path.
Know when the next one hits your stack
- 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:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible SBI API requires low-privilege NF credentials (PR:L); impact limited to availability crash with no code execution or data exposure confirmed.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was determined in Open5GS up to 2.7.7. This vulnerability affects the function amf_namf_comm_decode_ue_mm_context_list of the file src/amf/namf-handler.c of the component AMF. This manipulation of the argument ueContext.mmContextList[*].allowedNssai causes memory corruption. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. Upgrading to version 2.8.0 is able to resolve this issue. Patch name: abf8a836564b966b5141110fc25ed413c4f17522. It is recommended to upgrade the affected component.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-68289
GHSA-qm67-7h74-xjp2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB