Skip to main content

free5GC UPF CVE-2025-65562

HIGH
Improper Validation of Array Index (CWE-129)
2025-12-18 cve@mitre.org
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Reach UPF PFCP/N4 interface (UDP 8805)
  2. Exploit
    Send Session Deletion Request with oversized SEID
  3. Execution
    Integer underflow yields negative slice index
  4. Impact
    Go runtime panic crashes UPF process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

The attacker must be able to send UDP packets to the free5GC UPF's PFCP N4 interface (default UDP port 8805) - the control-plane interface normally spoken only by the SMF. No authentication, user interaction, or special product configuration is required (PFCP is unauthenticated by design), and a single malformed Session Deletion Request with an out-of-range SEID (e.g. 0xFFFFFFFFFFFFFFFF) is sufficient. The primary limiting factor is network reachability: N4/PFCP is typically deployed on an internal, segmented control-plane network rather than exposed to the Internet, so realistic exploitation presupposes an attacker already inside the core network or on a flat/misconfigured network. Confirmed affected on free5GC v4.1.0; other versions may be affected but are unverified.

Impact

All signals align on a moderate-to-notable availability risk with no confidentiality or integrity exposure. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a network-reachable, low-complexity, unauthenticated attack whose sole impact is availability (A:H) - consistent with the description of a Go runtime panic crashing the UPF. A public POC exists (free5GC GitHub issue #731), which raises practical exploitability, but this is NOT the same as active exploitation: the CVE is not in CISA KEV, so status is 'publicly available exploit code exists,' not in-the-wild use. No EPSS score was provided, so exploitation-probability cannot be quantified here. The headline mitigating factor the raw CVSS does not capture is deployment topology: PFCP (the N4 interface between SMF and UPF, UDP/8805) is normally an internal control-plane interface, not an Internet-facing service, so 'AV:N' is accurate at the IP layer but real-world reach usually requires a foothold inside the mobile core network. This is a genuine DoS priority for 5G core operators able to segment the N4 network, but it is a crash-only bug (no RCE, no data impact), so it should be triaged below code-execution or information-disclosure issues of similar CVSS.

Exploit ScenarioDerived

An attacker with network access to the UPF's PFCP/N4 interface sends a single crafted PFCP Session Deletion Request containing an oversized SEID such as 0xFFFFFFFFFFFFFFFF. The uint64-to-int conversion underflows into a negative slice index during session lookup/deletion, triggering a Go runtime panic that crashes the UPF process and denies service to all subscriber sessions. A public POC referenced in free5GC issue #731 demonstrates the crash, so no original research is needed to reproduce it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 13, 2026

Denial of service in the free5GC UPF (confirmed on v4.1.0) allows an unauthenticated remote attacker to crash the User Plane Function by sending a single PFCP Session Deletion Request carrying an out-of-range Session ID (SEID) such as 0xFFFFFFFFFFFFFFFF. A missing bounds check lets the oversized 64-bit SEID flow into index arithmetic in LocalNode.DeleteSess()/LocalNode.Sess() (internal/pfcp/node.go), producing a negative array index and an unhandled Go runtime panic that terminates the UPF process, disrupting all user-plane traffic for served sessions. Publicly available exploit code exists via the upstream GitHub issue, and no CISA KEV listing or confirmed in-the-wild exploitation has been reported; the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) reflects pure availability impact with no confidentiality or integrity exposure, and the practical barrier is network reachability of the PFCP N4 interface (default UDP/8805), which is normally confined to an internal control-plane segment.

RemediationAI

No vendor-released patch identified at time of analysis; the only upstream reference is the bug-tracking GitHub issue (https://github.com/free5gc/free5gc/issues/731), which reports the flaw rather than a tagged fix release, so operators should track that issue and the free5GC release notes for a patched version before upgrading. Until a fix ships, the most effective compensating control is to enforce strict network-layer isolation of the N4/PFCP interface: permit UDP port 8805 traffic to the UPF only from the specific SMF addresses that legitimately drive it, using host firewalls (iptables/nftables), Kubernetes NetworkPolicies, or core-network segmentation, with the trade-off that adding or moving SMFs requires ACL updates and dynamic/ephemeral SMF deployments may break. Because PFCP is unauthenticated by design, there is no protocol-level authentication to enable as an alternative; running the UPF on a segmented internal control-plane network rather than a flat or Internet-reachable segment is essential, and operators should treat any host with N4 reachability as fully trusted. Additional hardening includes rate-limiting or deep-packet-inspection of PFCP Session Deletion messages to drop oversized SEID fields at the boundary (with the caveat that stateful DPI adds latency and can misfire on legitimate traffic), and monitoring/logging of UPF restarts with alerting on Go panic traces so crashes caused by this vector are detected quickly; keep a supervised restart policy (systemd/Kubernetes) so the UPF recovers automatically, though all active PDU sessions will drop on each crash and require re-establishment.

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 5G core architecture separates control-plane session management from user-plane forwarding, and in free5GC these components communicate over the Packet Forwarding Control Protocol (PFCP) on the N4 reference point. PFCP sessions are identified by a 64-bit Session ID (SEID) that the SMF and UPF exchange in Session Establishment, Modification, and Deletion messages. PFCP is unauthenticated by design - there is no cryptographic handshake or credential on the N4 interface - so any host that can reach UDP port 8805 can inject control messages. In the free5GC UPF implementation, the Session Deletion handler passes the attacker-supplied SEID into LocalNode.DeleteSess() and the session lookup helper LocalNode.Sess() in internal/pfcp/node.go, where the value undergoes a conversion from uint64 to int and is then used in index arithmetic against the n.sess session map/slice. CWE-129 (Improper Validation of Array Index) describes the root cause: the code never validates that the supplied SEID is within the expected range or present in the session table before using it as an offset. A value such as 0xFFFFFFFFFFFFFFFF drives the computed index negative, and Go's runtime panics on the out-of-range access, taking down the UPF process. The bug is fully reproducible on free5GC v4.1.0 (CPE cpe:2.3:a:free5gc:free5gc:4.1.0); other releases are unverified but plausibly share the same lookup path.

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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

PFCP is unauthenticated (PR:N) and network-reachable (AV:N) with a single deterministic crash packet (AC:L); impact is crash-only, so C:N/I:N/A:H and no scope change.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

The free5GC UPF suffers from a lack of bounds checking on the SEID when processing PFCP Session Deletion Requests. An unauthenticated remote attacker can send a request with a very large SEID (e.g., 0xFFFFFFFFFFFFFFFF) that causes an integer conversion/underflow in LocalNode.DeleteSess() / LocalNode.Sess() when a uint64 SEID is converted to int and used in index arithmetic. This leads to a negative index into n.sess and a Go runtime panic, resulting in a denial of service (UPF crash). The issue has been reproduced on free5GC v4.1.0 with crashes observed in the session lookup/deletion path in internal/pfcp/node.go; other versions may also be affected. No authentication is required.

Executive ViewAI

Why It Matters

The free5GC User Plane Function (UPF) v4.1.0 contains a high-severity denial-of-service vulnerability that can let an unauthenticated remote attacker crash the UPF and disrupt all user-plane traffic for served sessions. No vendor-released patch identified at time of analysis; publicly available exploit code exists, and no CISA KEV listing or confirmed active exploitation has been reported. Telecom and 5G core operators running this version are affected, and leadership should care because user-plane outages can degrade customer experience, breach SLAs, and require urgent network operations response.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; enforce network segmentation and firewall rules so PFCP N4 UDP/8805 is reachable only from trusted SMF/control-plane sources, monitor and drop malformed PFCP Session Deletion Requests with out-of-range SEID values, rate-limit PFCP control traffic, and maintain automated UPF restart and health-check procedures.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
Low
open-source 5G core, mainly research/testbed and limited private deployments
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:free5gc:free5gc:4.1.0:*:*:*:*:*:*:*
CVE-2025-66719 CRITICAL POC
9.1 Jan 23

Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke

CVE-2025-69252 HIGH POC
7.5 Feb 24

free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co

CVE-2025-69248 HIGH POC
7.5 Feb 23

free5GC is an open-source project for 5th generation (5G) mobile core networks. Versions up to and including 1.4.1 of fr

CVE-2025-70123 HIGH POC
7.5 Feb 13

An improper input validation and protocol compliance vulnerability in free5GC v4.0.1 allows remote attackers to cause a

CVE-2025-69232 HIGH POC
7.5 Feb 23

free5GC is an open-source project for 5th generation (5G) mobile core networks. free5GC go-upf versions up to and includ

CVE-2025-60638 HIGH POC
7.5 Nov 24

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

CVE-2025-69247 HIGH POC
7.5 Feb 23

free5GC go-upf is the User Plane Function (UPF) implementation for 5G networks that is part of the free5GC project. Vers

CVE-2025-70121 HIGH POC
7.5 Feb 13

An array index out of bounds vulnerability in the AMF component of free5GC v4.0.1 allows remote attackers to cause a den

CVE-2025-70122 HIGH POC
7.5 Feb 13

A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of

CVE-2025-69250 HIGH POC
7.5 Feb 24

free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co

CVE-2025-63679 HIGH POC
7.5 Nov 12

free5gc v4.1.0 and before is vulnerable to Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remote

CVE-2025-56394 HIGH POC
7.5 Sep 23

Free5gc 4.0.1 is vulnerable to Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitab

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