Skip to main content

Open5GS SMF CVE-2026-138039

| EUVDEUVD-2026-137582 MEDIUM
Improper Resource Shutdown or Release (CWE-404)
2026-11-28 VulDB GHSA-23r2-rr6m-ch8j
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach SMF GTP-C interface
  2. Delivery
    Send GTP message with empty or oversized IMSI
  3. Exploit
    Invalid key used in hash lookup/context removal
  4. Execution
    Crash or disrupt SMF session handling
  5. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Exploitation Conditions

Exploitation requires the ability to deliver a crafted GTP-C message (GTPv1-C or GTPv2-C session-creation request) to the Open5GS SMF whose IMSI information element has zero length, a length exceeding OGS_MAX_IMSI_LEN, or a null data pointer - these are the exact inputs the patch now rejects before the hash lookup. The CVSS vector specifies PR:N/UI:N (no authentication or user interaction), so no credentials are needed at the protocol level. The key LIMITING factor is network reachability: the SMF GTP-C interface is an internal mobile-core interface (e.g. S5/S8/N4 paths) typically segmented from the public internet, so practical exploitation depends on the attacker having access to the core network signaling plane. Affected versions are Open5GS up to and including 2.8.0; applying the vendor patch is the stated remediation.

Impact

Severity signals are moderate and broadly consistent rather than alarming. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with availability-only, partial impact (VA:L) yields 6.9 (Medium), and the E:P threat metric reflects a proof-of-concept maturity rather than confirmed active exploitation. This is corroborated by the multi-source data: not listed in CISA KEV, no EPSS probability was provided, and the PoC is a vendor GitHub issue (reference only, not verified as working exploit code). The vuln.today decision label is 'this_month', i.e. a scheduled-patch priority, not act_now/emergency. The impact is confined to availability (denial of service of the SMF) with no confidentiality or integrity effect, confirmed by the patch, which only adds IMSI-length/null validation. The main caveat is reachability: the CVSS marks AV:N/PR:N (remote, unauthenticated), but the affected code path is the GTP-C interface of a 5G/LTE core SMF, which in typical deployments sits on an internal/trusted network segment rather than the public internet - so real-world exposure depends heavily on network architecture and is likely lower than a raw 'network/unauthenticated' reading implies. MISSING SIGNALS: no EPSS score and no KEV data were provided to gauge exploitation likelihood or breadth.

Exploit ScenarioDerived

An attacker able to reach the SMF's GTP-C interface sends a crafted GTPv1-C or GTPv2-C session-creation message whose IMSI field is empty (len 0), oversized (greater than OGS_MAX_IMSI_LEN), or has a null data pointer. Because the pre-patch code performed the IMSI hash lookup and context removal without validating the key, this disrupts SMF session handling and causes a denial of service. A public PoC reference exists (the Open5GS GitHub issue), but it is not verified as working exploit code.

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

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

Alert me

AnalysisAIv1 – Nov 28, 2026

Denial of service in the Open5GS SMF (Session Management Function) through version 2.8.0, where GTP-C session-creation requests carrying a malformed IMSI information element are processed without validation. A remote attacker with signaling-plane access can send a GTPv1-C or GTPv2-C request whose IMSI length is zero, exceeds OGS_MAX_IMSI_LEN, or carries a null data pointer, driving smf_ue_find_by_imsi() into a hash lookup with an invalid key and disrupting SMF context handling. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with only availability impact (VA:L); an upstream fix exists as PR #4886 / commit df92296dbf60c21a2dd09e74f4903cee995cd2c2, and a public PoC reference exists but is not verified as working exploit code. No CISA KEV entry or EPSS data was provided; the priority decision is this_month, with the practical constraint being that the SMF GTP-C interface is normally an internal core-network path rather than internet-exposed.

RemediationAI

Apply the upstream fix identified in the advisory: pull request https://github.com/open5gs/open5gs/pull/4886, corresponding to commit df92296dbf60c21a2dd09e74f4903cee995cd2c2, which adds IMSI length (1..OGS_MAX_IMSI_LEN) and non-null data validation before the smf_ue_find_by_imsi() hash lookup and before any context removal in src/smf/context.c; because the supplied data shows a PR/commit rather than a tagged release, rebuild SMF from a commit at or after df92296dbf60c21a2dd09e74f4903cee995cd2c2 and confirm the released version carrying it with the vendor. Track https://github.com/open5gs/open5gs/issues/4854 and the VulDB entry https://vuldb.com/vuln/444961 for status. Where an immediate rebuild is not possible, restrict reachability of the SMF GTP-C service (default UDP/2123 for GTP-C) to known SGW-C peers with host-based firewall or security-group rules - the trade-off is that any legitimate new peer or roaming/interconnect path must be explicitly allow-listed, and misconfiguration will break session establishment. Likewise, keep SMF signaling interfaces on a dedicated, segmented core-network VLAN with no route to untrusted networks; this reduces exposure but does not correct the parsing defect for an attacker already inside the signaling plane, so patching remains the complete fix.

Affected VersionsENISA

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

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/4G core implementation; its SMF handles session management and exchanges GTP-C signaling (GTPv1-C and GTPv2-C) with peers such as SGW-C/SGW-U and UPF over internal core interfaces (S5/S8, N4 paths). In src/smf/context.c, the functions smf_sess_add_by_gtp1_message() and smf_sess_add_by_gtp2_message() extract the IMSI information element from the inbound message and pass it into smf_ue_find_by_imsi(), a hash lookup keyed on the subscriber identity, before context removal. The patch shows the code previously performed that lookup and the subsequent context removal without verifying that the peer-supplied IMSI was usable as a hash key: the added checks reject req->imsi.len == 0, req->imsi.len > OGS_MAX_IMSI_LEN, and a null req->imsi.data, logging 'Invalid IMSI length' or 'Missing IMSI data' and returning NULL. The flaw is classified CWE-404 (Improper Resource Shutdown or Release), consistent with a malformed identity causing improper handling of subscriber context state in the SMF. Impact is limited to availability (VC:N/VI:N/VA:L) - there is no evidence in the supplied data of memory corruption, code execution, or confidentiality/integrity loss. The trigger requires delivery of a crafted GTP-C session-creation message to the SMF; no authentication is needed at the protocol level per PR:N in the vector, but the SMF GTP-C listener is an internal mobile-core interface that is typically segmented from untrusted networks.

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 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Remote GTP-C message with no authentication or interaction and low complexity (AV:N/AC:L/PR:N/UI:N); impact is a denial of service limited to availability, so C:N/I:N/A:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 28, 2026 - 13:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 28, 2026 - 12:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

A vulnerability was found in Open5GS up to 2.8.0. Affected is the function smf_ue_find_by_imsi of the file src/smf/context.c of the component SMF. The manipulation results in denial of service. It is possible to launch the attack remotely. The exploit has been made public and could be used. The patch is identified as df92296dbf60c21a2dd09e74f4903cee995cd2c2. Applying a patch is advised to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Low
open-source 5G/LTE mobile core, deployed mainly in telco labs and private 5G
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 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 Yes
EPSS 0.7%
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
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

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