Skip to main content

free5GC CVE-2025-65561

HIGH
Improper Input Validation (CWE-20)
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 endpoint
  2. Delivery
    Craft malicious Local SEID value
  3. Exploit
    Send PFCP Session Modification Request
  4. Execution
    Bypass signed bounds check
  5. Persist
    Out-of-bounds slice index panic
  6. Impact
    UPF 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 i >= len(n.sess) check (because int(lSeid) can wrap negative or the comparison was signed), producing an out-of-bounds slice index and a Go panic that crashes the UPF. The key caveat is attack-surface placement: PFCP runs on the N4 interface between SMF and UPF, which in sound deployments is an internal/trusted control-plane network rather than an internet-facing service. So while CVSS scores it AV:N, real-world reachability depends on whether an attacker can reach the PFCP endpoint - verify network segmentation before treating this as remotely exploitable from untrusted networks.

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% 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 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

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

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
open-source 5G core mainly used in research, labs, and testbeds
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.4%
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
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
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

References

Advisories & patches

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