The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-70122

CVE-2025-70122: Free5gc Buffer Overflow Vulnerability

CVE-2025-70122 is a heap buffer overflow flaw in Free5gc v4.0.1 UPF component that enables remote denial of service attacks. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 20, 2026

CVE-2025-70122 Overview

A heap buffer overflow vulnerability exists in the User Plane Function (UPF) component of free5GC v4.0.1, an open-source implementation of 5G core network functions. Remote attackers can exploit this vulnerability to cause a denial of service by sending a crafted PFCP (Packet Forwarding Control Protocol) Session Modification Request. The vulnerability resides in the SDFFilterFields.UnmarshalBinary function within sdf-filter.go, where improper handling of declared lengths that exceed actual buffer capacity leads to a runtime panic and subsequent UPF crash.

Critical Impact

This vulnerability allows unauthenticated remote attackers to crash the UPF component, disrupting 5G network user plane operations and potentially affecting all connected mobile users.

Affected Products

  • free5GC v4.0.1
  • free5GC UPF component with vulnerable SDFFilterFields.UnmarshalBinary implementation
  • 5G core network deployments utilizing affected free5GC versions

Discovery Timeline

  • 2026-02-13 - CVE-2025-70122 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2025-70122

Vulnerability Analysis

This heap buffer overflow vulnerability (CWE-122) affects the UPF component's PFCP message parsing functionality. The UPF is a critical 5G network element responsible for packet routing and forwarding between the Radio Access Network (RAN) and external data networks.

The vulnerability stems from insufficient validation when deserializing SDF (Service Data Flow) filter fields. When the SDFFilterFields.UnmarshalBinary function processes incoming PFCP Session Modification Requests, it trusts the declared length value embedded in the message without verifying it against the actual buffer capacity. An attacker can craft a malicious request with a length value exceeding the available data, causing the Go runtime to panic due to an out-of-bounds memory access attempt.

The attack requires no authentication and can be executed remotely over the network, making it particularly dangerous in exposed 5G deployments. While the vulnerability does not enable code execution or data theft, the denial of service impact is significant for telecom infrastructure.

Root Cause

The root cause lies in the SDFFilterFields.UnmarshalBinary function in sdf-filter.go. The function fails to properly validate that the declared length field in incoming PFCP messages does not exceed the actual size of the buffer being processed. This missing bounds check allows an attacker to specify an arbitrary length value that triggers an out-of-bounds read operation, causing the Go runtime to panic and terminate the UPF process.

Attack Vector

The attack is network-based and requires no user interaction or special privileges. An attacker can remotely target the PFCP interface of the UPF component by:

  1. Crafting a malicious PFCP Session Modification Request with an SDF Filter field
  2. Setting the length field to a value larger than the actual data provided in the buffer
  3. Sending the crafted request to the target UPF's PFCP interface
  4. The UnmarshalBinary function attempts to read beyond the buffer boundary
  5. Go runtime detects the out-of-bounds access and triggers a panic, crashing the UPF service

The vulnerability manifests during binary unmarshaling of SDF filter fields in PFCP messages. When processing the declared length parameter, insufficient validation allows attackers to trigger runtime panics. For detailed technical analysis, refer to the free5GC GitHub issue report.

Detection Methods for CVE-2025-70122

Indicators of Compromise

  • Unexpected UPF service crashes or restarts in free5GC deployments
  • PFCP Session Modification Requests with abnormally large SDF Filter length values
  • Runtime panic messages in UPF logs referencing SDFFilterFields.UnmarshalBinary or sdf-filter.go
  • Unusual traffic patterns targeting PFCP ports (typically UDP 8805)

Detection Strategies

  • Monitor UPF process stability and alert on unexpected terminations or rapid restart cycles
  • Implement deep packet inspection on PFCP traffic to detect malformed Session Modification Requests with suspicious length fields
  • Configure log aggregation to capture and alert on Go runtime panic messages from UPF components
  • Deploy network anomaly detection to identify unusual PFCP traffic patterns or sources

Monitoring Recommendations

  • Enable comprehensive logging for the free5GC UPF component, particularly for PFCP message processing
  • Set up automated alerts for UPF service availability degradation or repeated crashes
  • Monitor PFCP interface traffic volumes and connection sources for anomalous activity
  • Implement health checks that detect UPF unresponsiveness before user impact occurs

How to Mitigate CVE-2025-70122

Immediate Actions Required

  • Identify all free5GC v4.0.1 deployments in your environment and assess exposure
  • Restrict network access to PFCP interfaces using firewall rules, limiting connections to trusted network elements only
  • Implement rate limiting on PFCP endpoints to reduce the impact of exploitation attempts
  • Monitor UPF service health and configure automatic restart mechanisms to minimize downtime during attacks

Patch Information

The vulnerability has been reported to the free5GC project maintainers. Organizations should monitor the free5GC GitHub repository for security updates and apply patches as soon as they become available. Contact free5GC maintainers for guidance on obtaining a patched version that includes proper bounds checking in the SDFFilterFields.UnmarshalBinary function.

Workarounds

  • Deploy PFCP traffic filtering at the network perimeter to block malformed requests before they reach the UPF
  • Implement network segmentation to ensure PFCP interfaces are not exposed to untrusted networks
  • Configure process monitoring and automatic restart for the UPF service to minimize denial of service duration
  • Consider deploying a PFCP proxy or gateway that can validate message integrity before forwarding to the UPF
bash
# Example: Restrict PFCP interface access using iptables
# Only allow PFCP traffic from trusted SMF addresses
iptables -A INPUT -p udp --dport 8805 -s <trusted_smf_ip> -j ACCEPT
iptables -A INPUT -p udp --dport 8805 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechFree5gc

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Vendor Resources
  • GitHub Issue Report
  • Related CVEs
  • CVE-2026-5661: Free5GC NGSetupRequest Handler DoS Flaw

  • CVE-2026-5360: Free5GC Type Confusion RCE Vulnerability

  • CVE-2026-30653: Free5gc DoS Vulnerability

  • CVE-2026-33064: Free5gc Udm Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English