free5GC
CVE-2025-65561
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach UPF PFCP/N4 endpoint
-
DeliveryCraft malicious Local SEID value
-
ExploitSend PFCP Session Modification Request
-
ExecutionBypass signed bounds check
-
PersistOut-of-bounds slice index panic
-
ImpactUPF process crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires network reachability to the UPF's PFCP endpoint on the N4 interface and the ability to send a PFCP Session Modification Request containing an attacker-controlled Local SEID header field; no user interaction and no authentication are required (PR:N/UI:N). The practical limiting factor is deployment topology: PFCP/N4 is typically an internal control-plane link between SMF and UPF, so an attacker must already be positioned on that network segment (or on a misconfigured, exposed N4 interface). Only free5GC 4.1.0 (go-upf) is confirmed affected. Impact is limited to denial of service (process crash); the description's 'other unspecified impacts' is not substantiated by the available evidence. |
| Impact | All signals point to a genuine but bounded availability-only risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5 HIGH) describes a network-reachable, low-complexity, unauthenticated attack with impact confined to availability - no confidentiality or integrity loss. Publicly available exploit code exists (referenced as free5GC issue #730), which raises operational urgency, but this is NOT the same as active exploitation: there is no CISA KEV listing and no EPSS score was supplied in the input, so widespread opportunistic exploitation cannot be asserted. The PR diff confirms the root cause is a signed-integer conversion/bounds-check flaw in LocalNode.Sess/DeleteSess: a crafted uint64 Local SEID can bypass the |
| Exploit ScenarioDerived | An attacker with reach to the UPF's N4/PFCP interface sends a PFCP Session Modification Request carrying a crafted Local SEID value chosen to defeat the signed bounds check in LocalNode.Sess. The resulting out-of-bounds slice access triggers a Go runtime panic that crashes the UPF process, denying user-plane service. Public exploit/PoC detail exists in the referenced free5GC issue, lowering the effort required to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Denial of service in free5GC 4.1.0 allows unauthenticated remote attackers with access to the N4/PFCP interface to crash the User Plane Function (UPF) by sending a crafted PFCP Session Modification Request containing a malicious Local SEID header. The flaw stems from improper input validation (CWE-20) where a 64-bit unsigned integer is converted to a signed integer without bounds checking, causing an out-of-bounds slice access and subsequent panic. Publicly available exploit code exists (GitHub issue 730), but exploitation requires network reachability to the internal control-plane interface, limiting the practical attack surface to misconfigured or exposed deployments. The CVSS score is 7.5 with availability-only impact; no integrity or confidentiality loss has been demonstrated.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. An unmerged pull request (go-upf PR #80) corrects the improper input validation in LocalNode.Sess and DeleteSess. Administrators should monitor the free5GC project for a patched release and apply it promptly. In the meantime, the most effective compensating control is to ensure the N4/PFCP interface (typically UDP port 8805) is not exposed to untrusted networks; restrict access to only the SMF and other trusted core network elements. Since the attack requires sending a PFCP Session Modification Request, firewall rules and network segmentation can prevent exploitation. Additionally, implement logging and monitoring for malformed PFCP messages that could indicate an attack. Disabling PFCP is not a viable workaround as it is essential for 5G core operation.
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
The vulnerability affects free5GC 4.1.0, an open-source 5G core network implementation, specifically the go-upf component that implements the User Plane Function. PFCP (Packet Forwarding Control Protocol, 3GPP TS 29.244) is used on the N4 interface between the Session Management Function (SMF) and UPF to manage sessions. The LocalNode.Sess function in internal/pfcp/node.go handles session lookup by a Local Session Endpoint Identifier (SEID), a 64-bit unsigned integer supplied in PFCP message headers. The original code performed an unchecked conversion from uint64 to int, then used the result as a slice index after only checking if it was greater than or equal to the slice length, failing to account for negative values from integer overflow. This is a classic CWE-20 improper input validation issue leading to an out-of-bounds read/write and a panic. The fix (PR #80) changes the comparison to use uint64 and validates the SEID range before conversion.
Know when Free5gc 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PFCP accepts the crafted SEID without authentication (PR:N) over the network (AV:N) with no interaction; the panic affects only availability, so C:N/I:N/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An issue was discovered in function LocalNode.Sess in free5GC 4.1.0 allowing attackers to cause a denial of service or other unspecified impacts via crafted header Local SEID to the PFCP Session Modification Request.
Executive ViewAI
free5GC 4.1.0's User Plane Function (UPF) can be crashed by a crafted PFCP Session Modification Request, causing a denial-of-service condition that disrupts user-plane traffic for affected 5G core deployments. Publicly available exploit code exists, and no vendor-released patch identified at time of analysis, so organizations running this version should treat exposure of the N4/PFCP interface as a priority availability risk. Leadership should care because a UPF outage can interrupt mobile data services and require emergency network segmentation or recovery efforts until a fix is available.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict N4/PFCP access to trusted networks, segment the control plane, apply ACLs/firewall rules, enable rate limiting, deploy IDS/IPS signatures for malformed PFCP Session Modification Requests, monitor UPF restarts, and maintain current backups for rapid recovery.
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
Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke
free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
free5GC is an open-source project for 5th generation (5G) mobile core networks. Versions up to and including 1.4.1 of fr
An improper input validation and protocol compliance vulnerability in free5GC v4.0.1 allows remote attackers to cause a
free5GC is an open-source project for 5th generation (5G) mobile core networks. free5GC go-upf versions up to and includ
An issue was discovered in Free5GC v4.0.0 and v4.0.1 allowing an attacker to cause a denial of service via crafted POST
free5GC go-upf is the User Plane Function (UPF) implementation for 5G networks that is part of the free5GC project. Vers
An array index out of bounds vulnerability in the AMF component of free5GC v4.0.1 allows remote attackers to cause a den
A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of
free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
free5gc v4.1.0 and before is vulnerable to Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remote
Free5gc 4.0.1 is vulnerable to Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitab
NVD
CVE.org
EPSS
GitHub
Exploit-DB