Skip to main content

Open5GS EUVDEUVD-2026-77377

| CVE-2026-90707 MEDIUM
Use After Free (CWE-416)
2026-09-14 VulDB GHSA-wxvq-3xfq-q746
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain access to 5G core SBI network
  2. Delivery
    Send crafted NRF discovery failure to AMF
  3. Exploit
    Trigger old AMF discovery fallback path
  4. Execution
    Dereference freed sbi_xact/discovery_option memory
  5. Impact
    Crash 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 amf_nnrf_handle_failed_amf_discovery() code path and specifically its old AMF fallback branch; (3) Open5GS version 2.0.x-2.7.x running the AMF function. Limiting factors: the SBI plane is not directly reachable by UEs or external internet sources in correctly deployed 5G cores; the fallback path is a non-default error condition requiring a failed prior discovery attempt, adding timing and state dependencies. The CVSS PR:N rating assumes no per-message authentication on SBI, consistent with inter-NF communication norms, but network-perimeter access control substantially reduces realistic exposure.

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 amf_nnrf_handle_failed_amf_discovery() to follow the old AMF fallback path. The freed sbi_xact structure's discovery_option memory is then dereferenced by subsequent code, causing the AMF process to crash or, with a more precisely shaped heap, potentially execute attacker-controlled data as code. No public proof-of-concept exists, making exploitation currently a research-level effort.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Open5GS 2.3
Open5GS 2.7
Open5GS 2.5
Open5GS 2.0
Open5GS 2.6
Open5GS 2.4
Open5GS 2.2
Open5GS 2.1

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 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

Vendor (VulDB) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.0 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

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

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche open-source 5G core used in testbeds and limited operator deployments
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

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.

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