Open5GS
CVE-2025-15176
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach PFCP/user-plane interface over network
-
DeliverySend crafted malformed IPv6 header
-
ExploitTrigger ogs_assert in decode_ipv6_header
-
ExecutionAssertion failure aborts process
-
ImpactCore network function denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Exploitation requires network access to an Open5GS instance that processes IPv6 packets through the PFCP PDR rule-matching path (ogs_pfcp_pdr_rule_find_by_packet in lib/pfcp/rule-match.c), i.e. an SMF/UPF-style user-plane/packet-forwarding deployment where decode_ipv6_header is reached. The specific trigger is a malformed IPv6 header where the payload length field is zero (jumbo-payload indication) but the NextHeader field is non-zero, which the pre-patch code assumed could never occur. Per the CVSS 4.0 vector (PR:N/UI:N), no authentication or user interaction is required. Limiting factors: the target must actually process the attacker's IPv6 traffic along this code path and run a vulnerable build (<=2.7.5); impact is restricted to availability (process abort/DoS) with no data exposure or code execution. The effective exposure depends on whether the vulnerable PFCP/user-plane interface is reachable by the attacker rather than isolated on a trusted core network segment. |
| Impact | This is a moderate-severity denial-of-service issue (CVE-2025-15176, CWE-617 reachable assertion) whose real-world risk is tempered by its limited impact profile. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates a network-reachable, low-complexity, unauthenticated trigger, but impact is confined to availability of the vulnerable system only (VA:L; VC:N/VI:N/VA:L with no confidentiality or integrity loss and no scope change), consistent with a single-request crash/abort rather than code execution. The CVSS 4.0 exploit-maturity sub-metric is E:P (Proof-of-Concept), which aligns with the reported publicly available exploit on the Open5GS issue tracker - this constitutes publicly available exploit code, NOT confirmed active exploitation. There is no CISA KEV listing and no EPSS score was provided in the input, so widespread opportunistic exploitation cannot be quantified from the data at hand. The source-code diff confirms the root cause: an ogs_assert(nxt == 0) in decode_ipv6_header() was replaced with graceful error handling, verifying that a crafted IPv6 header reaches an assertion that aborts the process. Net assessment: a genuine but bounded availability risk - relevant for operators running Open5GS as a 5G/LTE core, but not a critical-impact or mass-exploitation priority given DoS-only impact and PoC-stage maturity. |
| Exploit ScenarioDerived | An attacker with network reachability to the PFCP interface of an Open5GS core (<=2.7.5) sends a crafted packet containing a malformed IPv6 header (plen=0 with a non-zero NextHeader) that is processed during PDR rule matching. The decode_ipv6_header function hits ogs_assert(nxt == 0), triggering an assertion failure that aborts the process and denies service. Publicly available exploit code referenced on the Open5GS GitHub issue tracker (issue #4180) demonstrates the trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Denial of service in Open5GS through 2.7.5 allows an unauthenticated remote attacker to abort the affected process by delivering a malformed IPv6 packet that is evaluated by the PFCP Packet Detection Rule matching path, causing a reachable assertion failure (CWE-617). The flaw sits in decode_ipv6_header() and ogs_pfcp_pdr_rule_find_by_packet() in lib/pfcp/rule-match.c, which abort when an IPv6 header advertises a zero payload length (jumbo-payload indication) together with a non-zero NextHeader value - a combination the pre-patch code asserted was impossible. Impact is availability-only: the vendor scores it 5.5 (CVSS 4.0, AV:N/AC:L/AT:N/PR:N/UI:N/E:P/VC:N/VI:N/VA:L) and our independent assessment raises the availability impact to HIGH under CVSS 3.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), with publicly available exploit code exists but no confirmed actively exploited (CISA KEV) status and no data exposure or code execution demonstrated.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit b72d8349980076e2c033c8324f07747a86eea4f8 (https://github.com/open5gs/open5gs/commit/b72d8349980076e2c033c8324f07747a86eea4f8), which converts the ogs_assert(nxt == 0) in decode_ipv6_header() into a logged OGS_ERROR return and makes ogs_pfcp_pdr_rule_find_by_packet() skip malformed IPv6 packets instead of aborting, and upgrade to a build that contains this change (anything newer than 2.7.5) as soon as one is available for your distribution. Where immediate patching is not possible, the highest-value compensating control is to stop untrusted IPv6 packets from reaching the PFCP/PDR matching path: enforce network segmentation so the N4/PFCP interface and user-plane ingress are reachable only from trusted core components, and block or rate-limit inbound IPv6 traffic on those paths at the perimeter. Operators who control the ingress can additionally filter IPv6 packets whose payload-length field is zero while the NextHeader field is non-zero, which is the exact malformed condition that triggers the abort; the trade-off is that legitimate jumbo-payload (hop-by-hop jumbo) traffic uses payload length 0 with NextHeader 0 and must be allowed through, and such filtering adds an extra DPI hop. Because the abort is a process-level crash, running the SMF/UPF under a supervisor that restarts the process reduces outage duration but does not prevent repeated denial of service, so it should be treated only as a stopgap. Monitoring for repeated process restarts or IPv6 parse errors in Open5GS logs provides a reasonable detection signal while the patch is rolled out.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 network implementation whose SMF/UPF components use PFCP (Packet Forwarding Control Protocol, 3GPP TS 29.244) to install Packet Detection Rules (PDRs) for user-plane traffic classification. When a packet arrives, ogs_pfcp_pdr_rule_find_by_packet() walks the packet against candidate rules and, for IPv6 traffic, calls decode_ipv6_header() to determine the next header and header length derived from the IPv6 payload-length field. The root cause is CWE-617 (Reachable Assertion): the code contained ogs_assert(nxt == 0) on the assumption that an IPv6 payload length of zero can only mean a jumbo-payload header (which mandates NextHeader=0), so an attacker-supplied header with payload length 0 and a non-zero NextHeader trips the assertion and terminates the process. The upstream fix (commit b72d8349980076e2c033c8324f07747a86eea4f8) replaces the assertion with an ogs_error() log and an OGS_ERROR return, and changes the caller in ogs_pfcp_pdr_rule_find_by_packet() to log a hexdump and 'continue' rather than abort, effectively dropping the malformed packet gracefully. The affected component is the PFCP Session Establishment Request handler, and the CPE cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:* applies to all builds up to and including 2.7.5.
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
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
Remote, low-complexity, unauthenticated malformed-packet trigger (AV:N/AC:L/PR:N/UI:N) causing a process-aborting assertion, so availability-only impact A:H with C:N/I:N and no scope change.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A flaw has been found in Open5GS up to 2.7.5. This affects the function decode_ipv6_header/ogs_pfcp_pdr_rule_find_by_packet of the file lib/pfcp/rule-match.c of the component PFCP Session Establishment Request Handler. Executing a manipulation can lead to reachable assertion. It is possible to launch the attack remotely. The exploit has been published and may be used. This patch is called b72d8349980076e2c033c8324f07747a86eea4f8. Applying a patch is advised to resolve 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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
open5gs v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Open5GS v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
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
Memory corruption in Open5GS versions through 2.7.1 is remotely exploitable via the freeDiameter protocol component, all
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
Open5GS MME versions <= 2.6.4 contain a reachable assertion in the `Uplink NAS Transport` packet handler. Rated high sev
Open5GS MME version <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the
Open5GS MME versions <= 2.6.4 contain an assertion that can be remotely triggered via a malformed ASN.1 packet over the
Open5GS MME versions <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB