Skip to main content

Open5GS AMF CVE-2026-10565

| EUVDEUVD-2026-33871 LOW
Race Condition (CWE-362)
2026-06-02 VulDB GHSA-94vg-m7v6-9c25
1.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish authenticated NGAP/SCTP connection to target AMF
  2. Delivery
    Initiate UE Security Mode Command exchange over N2 interface
  3. Exploit
    Send concurrent NGAP messages to race gmm_state_security_mode state transitions
  4. Execution
    Corrupt or destabilize shared UE context in AMF
  5. Impact
    Cause partial availability loss for targeted UE sessions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: 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) authenticated access to the AMF's N2 interface (CVSS PR:L), meaning the attacker controls or has compromised a gNodeB with an established NGAP connection to the target AMF; (2) high attack complexity (CVSS AC:H), meaning the attacker must time concurrent NGAP message delivery precisely to hit the race window in gmm_state_security_mode - this is not trivially reproducible on demand; (3) the vulnerability is specific to the NGAP Handover flow and Security Mode Command processing path, so the target UE must be in or entering a security mode negotiation or handover state. What limits exploitation: the high complexity of timing the race, the requirement for N2-layer access (not publicly routable in well-segmented 5G deployments), and the low impact ceiling (A:L only per CVSS). The broader gNB identity-spoofing issue in ran_ue_find_by_amf_ue_ngap_id is also restricted to N2-connected gNBs, but may have fewer timing constraints than the race condition path.

Impact

CVSS 3.1 score of 3.1 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L) reflects a low-severity, high-complexity remote vulnerability requiring low privileges with only availability impact - a difficult exploitation profile in practice. The temporal modifiers include E:P (proof-of-concept exploit exists) and RC:C (confirmed report), which validates the vulnerability's existence but does not indicate weaponization. No EPSS data was provided, and no CISA KEV listing is present, so no independent exploitation probability signal is available. A material discrepancy exists in the data: the CVE tags include 'Information Disclosure' but the CVSS vector explicitly records C:N (no confidentiality impact). This conflict should be verified against the vendor advisory. Additionally, the PR diff comment describes a scenario where a rogue gNB could inject attacker-controlled GTP-U tunnel parameters via PDUSessionResourceSetupResponse by spoofing another UE's AMF-UE-NGAP-ID - an impact potentially more severe than availability alone. Whether that scenario is formally captured in this CVE or a separate tracking entry (the diff references issue #4498, while the CVE references issue #4497) is unconfirmed from available data. For 5G operators, the combination of a publicly available exploit, a patch pending merge (not yet released), and the network-core attack surface warrants elevated attention despite the low CVSS base score.

Exploit ScenarioDerived

An attacker with low-privilege access to the N2 interface - such as an operator of a rogue or compromised gNodeB - sends concurrent Security Mode Command-related NGAP messages to the Open5GS AMF, racing the state machine in gmm_state_security_mode against itself. The publicly released exploit archive (N2-SMC-Concurrent.zip) demonstrates this timing-dependent technique, which requires high attack complexity to land the race window reliably, with the practical outcome being disruption of the affected UE's AMF session state and a low availability impact.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 02, 2026

Race condition in Open5GS AMF up to version 2.7.6 allows a remote, low-privileged attacker to trigger concurrent NGAP Security Mode Command processing in gmm_state_security_mode (src/amf/gmm-sm.c), resulting in low availability impact. Publicly available exploit code exists (N2-SMC-Concurrent.zip), though no public exploit identified at time of analysis indicates active exploitation and this CVE is not listed in CISA KEV. Notably, the associated fix PR (#4501) addresses a broader NGAP identity-scoping flaw - where the AMF accepted UE-associated NGAP messages from any gNB regardless of which gNB originally registered the UE - suggesting the underlying attack surface may exceed what the formal CVSS score of 3.1 captures.

RemediationAI

The upstream fix is available as PR #4501 (https://github.com/open5gs/open5gs/pull/4501), which awaits merge acceptance as of the time of reporting - a released patched version is not independently confirmed, so this should be treated as 'upstream fix available (PR/commit); released patched version not independently confirmed.' Operators should monitor the Open5GS release channel for the version incorporating this PR. In the interim, network-level compensating controls include restricting N2 interface access so only trusted gNodeBs (validated by SCTP endpoint authentication and mutual TLS where supported) can connect to the AMF - this directly limits which endpoints can send the concurrent NGAP messages required to trigger the race. Blocking untrusted gNB SCTP connections at the transport layer reduces exposure without disrupting legitimate UE traffic, though it requires maintaining an accurate gNB allowlist. Disabling NGAP handover handling entirely is not a viable workaround in production environments. Monitor the exploit archive at https://github.com/user-attachments/files/27111025/N2-SMC-Concurrent.zip for indicators of technique evolution.

Affected VersionsENISA

Open5GS 2.7.3
Open5GS 2.7.6
Open5GS 2.7.5
Open5GS 2.7.0
Open5GS 2.7.4
Open5GS 2.7.1
Open5GS 2.7.2

Affected Packages

euvd open5gs no fix

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 stack implementing 3GPP Release 16/17. The affected component is the AMF (Access and Mobility Management Function), which manages UE registration, authentication, and mobility over the NGAP (Next Generation Application Protocol, TS 38.413) N2 interface connecting gNodeBs to the core. The root cause class is CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization), specifically in the Security Mode Command state machine (gmm_state_security_mode in gmm-sm.c). The upstream PR diff (PR #4501) reveals an additional structural flaw: ran_ue_find_by_amf_ue_ngap_id previously resolved a UE by AMF-UE-NGAP-ID without verifying that the resolving gNB matches the gNB that owns the UE's ran_ue record. Per TS 38.413 §10.6, NGAP message routing must be scoped to the originating gNB's logical NG-connection. The fix adds a gnb_id ownership check before returning a ran_ue pointer, refusing cross-gNB lookups. The CPE is cpe:2.3:a:n/a:open5gs:*:*:*:*:*:*:*:* indicating all tracked versions through 2.7.6.

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

Vendor (VulDB) PRIMARY 1.3 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 02, 2026 - 03:22 NVD
3.1 (LOW) 1.3 (LOW)

DescriptionCVE.org

A security flaw has been discovered in Open5GS up to 2.7.6. The impacted element is the function gmm_state_security_mode of the file src/amf/gmm-sm.c of the component NGAP Handover. Performing a manipulation results in race condition. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitability is regarded as difficult. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2024-40130 CRITICAL POC
9.8 Jul 16

open5gs v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2024-40129 CRITICAL POC
9.8 Jul 16

Open5GS v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2021-28122 CRITICAL POC
9.8 Mar 10

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

CVE-2025-15685 MEDIUM
5.3 Aug 12

Memory corruption in Open5GS versions through 2.7.1 is remotely exploitable via the freeDiameter protocol component, all

CVE-2021-25863 HIGH POC
8.8 Jan 26

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

CVE-2023-37023 HIGH POC
8.6 Jan 22

Open5GS MME versions <= 2.6.4 contain a reachable assertion in the `Uplink NAS Transport` packet handler. Rated high sev

CVE-2023-37021 HIGH POC
8.6 Jan 22

Open5GS MME version <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the

CVE-2023-37020 HIGH POC
8.6 Jan 22

Open5GS MME versions <= 2.6.4 contain an assertion that can be remotely triggered via a malformed ASN.1 packet over the

CVE-2023-37019 HIGH POC
8.6 Jan 22

Open5GS MME versions <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy