Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish low-privilege gNB or UE session
-
DeliveryCraft malformed NGAP PathSwitchRequest or NAS IdentityResponse
-
ExploitSend payload to AMF N2/N1 interface
-
ExecutionTrigger unguarded nil/empty-slice dereference in handler
-
PersistCorrupt AMF process memory
-
ImpactAchieve partial C/I/A impact on 5G core AMF
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 | PR:L in the CVSS vector confirms low-privilege authentication is required - an unauthenticated attacker cannot directly trigger this vulnerability without first establishing a valid UE or gNB session context with the AMF. The NGAP PathSwitchRequest handler is invoked during handover procedures, meaning the attacker must be able to send NGAP messages over SCTP to the AMF's N2 interface (typically port 38412), which in standard 5G deployments is reachable only from registered gNBs. Alternatively, the NAS IdentityResponse path is reachable from UE-side NAS messaging over the N1 interface. AC:L confirms no timing dependency or special system state is required - any authenticated session can attempt the trigger. Exploitation is limited by: (1) the requirement for at least low-privilege session credentials or gNB trust relationship, (2) standard carrier deployments that firewall the N2 SCTP interface from public internet access, and (3) the non-default scenario of a rogue or compromised network node. There is no prerequisite for a specific non-default software configuration option to be enabled. |
| Impact | The CVSS base score of 6.3 (Medium) reflects a realistic but bounded threat: AV:N confirms full remote reachability, AC:L means no special race conditions or configuration states are required to trigger the flaw, and PR:L means an attacker must hold at least low-privilege credentials or a valid UE/gNB session context - this is not an unauthenticated pre-auth exploit. The temporal modifiers refine the picture: E:P confirms a proof-of-concept is publicly available (not just theoretical), RL:O confirms an official vendor fix has been released (reducing urgency for patched deployments), and RC:C confirms the vulnerability report is credible. No EPSS score was provided in the intelligence data, so exploitation probability cannot be quantitatively compared to the CVSS signal. The absence from CISA KEV indicates no confirmed mass or targeted exploitation at time of analysis, but the public PoC elevates risk above the base CVSS alone suggests. For 5G core operators, the realistic threat is a rogue or compromised gNB, or a UE sending malformed NAS messages - both plausible insider or supply-chain scenarios in carrier-grade environments. The scope is unchanged (S:U), meaning successful exploitation does not pivot to adjacent system components. |
| Exploit ScenarioDerived | An attacker with low-privilege access - such as a compromised UE device or a rogue gNB connected to the 5G core - sends a crafted NGAP PathSwitchRequest or malformed NAS IdentityResponse containing a nil or empty MobileIdentity5GSContents payload. The AMF dispatcher fails to validate the payload before dereferencing it, triggering memory corruption in the handler goroutine. A publicly available proof-of-concept (GitHub issue #680) demonstrates this path; successful exploitation yields partial read/write access to AMF process memory and potential service disruption. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 23, 2026
Memory corruption in omec-project AMF (Access and Mobility Management Function) through version 2.1.1 allows authenticated remote attackers to corrupt memory by sending crafted NGAP or NAS messages targeting the PathSwitchRequest handler and related message processing paths. The CVSS vector (AV:N/AC:L/PR:L/UI:N/C:L/I:L/A:L) indicates low-complexity network exploitation requiring only low-privilege credentials, with partial impacts across confidentiality, integrity, and availability. Publicly available exploit code exists (confirmed by GitHub issue #680 and the E:P temporal modifier); no active exploitation is confirmed in CISA KEV.
RemediationAI
Upgrade to omec-project AMF version 2.2.0, which is the fixed release introduced by PR #666 at https://github.com/omec-project/amf/pull/666. This PR adds nil-pointer guards across the NGAP dispatcher, bounds checking for NAS mobile identity contents, and proper error propagation for PLMN ID parsing - all of which collectively close the memory corruption paths. Note that version 2.2.0 is confirmed by the VERSION file change in the PR diff from '2.1.3-dev' to '2.2.0', but an independently published tagged release was not confirmed from the available reference data; operators should verify a tagged release exists on the GitHub repository before deploying. If immediate patching is not possible, restrict NGAP SCTP access (port 38412) to trusted gNB IP ranges using firewall or network segmentation, and limit NAS message ingestion to authenticated UE sessions only - these controls reduce the attack surface but do not eliminate the flaw since PR:L attackers with valid session credentials can still trigger the handlers. The trade-off of these compensating controls is potential disruption to legitimate handover procedures if allowlists are misconfigured.
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
The omec-project AMF is an open-source 5G core network Access and Mobility Management Function implementing 3GPP TS 23.502 procedures, including NGAP (Next Generation Application Protocol) over SCTP for gNB-to-core communication and NAS (Non-Access Stratum) for UE signaling. The affected CPE is cpe:2.3:a:omec-project:amf:*:*:*:*:*:*:*:* covering all versions through 2.1.1. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) is the root cause class. Analysis of PR #666 reveals the vulnerability is not isolated to a single handler: the patch adds nil/empty-slice guards on MobileIdentity5GSContents in the NAS security module (preventing out-of-bounds slice access), nil checks for SCTP LB messages, RAN contexts, connections, and NGAP PDUs throughout the NGAP dispatcher, and proper error propagation for PLMN ID parsing failures in the RegistrationRequest and IdentityResponse GMM handlers. The PathSwitchRequest handler - an NGAP procedure triggered when a UE performs an Xn-handover - shares the unguarded NGAP dispatcher code paths, making it a direct attack surface. Tags confirm the buffer overflow classification.
Know when Amf 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in omec-project amf up to 2.1.1. Affected by this vulnerability is an unknown functionality of the component PathSwitchRequest Handler. The manipulation results in memory corruption. The attack may be launched remotely. The exploit is now public and may be used. It is advisable to implement a patch to correct 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
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.
free5GC is an open-source project for 5th generation (5G) mobile core networks. Versions up to and including 1.4.1 of fr
Denial of service in omec-project AMF (Access and Mobility Management Function) versions up to 2.1.1 allows a low-privil
Denial of service in omec-project's 5G Access and Mobility Management Function (AMF) versions up to 2.0.2 and 2.1.1 allo
Null pointer dereference in OMEC Project AMF (Access and Mobility Management Function) versions up to 2.1.3-dev allows a
Remote denial of service in omec-project AMF versions up to 2.1.3-dev allows authenticated attackers to crash the Access
Null pointer dereference in OMEC Project AMF versions up to 2.1.3-dev allows remote authenticated attackers to trigger d
Memory corruption in OMEC Project AMF (Access and Mobility Management Function) versions up to 2.1.1 allows authenticate
Memory corruption in the omec-project AMF (Access and Mobility Management Function) NGSetupRequest Handler allows networ
Memory corruption in omec-project AMF versions up to 2.1.1 exposes 5G core network infrastructure to remote exploitation
Memory corruption in omec-project AMF versions up to 2.1.3-dev allows authenticated remote attackers to trigger low-seve
Memory corruption in OMEC Project's Access and Mobility Management Function (AMF) allows authenticated remote attackers
Memory corruption in OMEC Project AMF up to version 2.1.1 occurs in the NGAP Message Handler when processing malformed m
EUVD-2026-31530
GHSA-h3w8-h79v-64cv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB