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

CVE-2025-65805: OpenAirInterface CN5G AMF Buffer Overflow

CVE-2025-65805 is a buffer overflow vulnerability in OpenAirInterface CN5G AMF v2.1.9 and earlier that enables denial-of-service attacks and remote code execution. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2025-65805 Overview

A stack-based buffer overflow vulnerability (CWE-121) has been identified in OpenAirInterface CN5G AMF version 2.1.9 and earlier. The vulnerability exists in the processing of NAS (Non-Access Stratum) messages, where improper bounds checking allows an attacker to overflow a buffer by sending an overly long IMSI string. Unauthorized remote attackers can exploit this vulnerability to launch denial-of-service attacks and potentially achieve remote code execution by accessing port N1 and sending an IMSI string longer than 1000 characters.

Critical Impact

Remote attackers can crash the AMF service or potentially execute arbitrary code by sending malformed NAS messages with oversized IMSI strings, disrupting 5G core network operations.

Affected Products

  • OpenAirInterface CN5G AMF version 2.1.9 and earlier
  • 5G Core Network deployments using vulnerable AMF versions
  • Systems with exposed N1 interface ports

Discovery Timeline

  • 2026-01-07 - CVE-2025-65805 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-65805

Vulnerability Analysis

This vulnerability represents a classic stack-based buffer overflow condition in the 5G core network's Access and Mobility Management Function (AMF). The AMF is a critical component in 5G networks responsible for handling registration, connection, reachability, and mobility management. When processing NAS messages containing International Mobile Subscriber Identity (IMSI) data, the vulnerable code fails to properly validate the length of the incoming IMSI string before copying it into a fixed-size buffer.

The attack can be executed remotely without authentication, requiring no user interaction. The primary impact is service availability, as successful exploitation results in denial of service. However, the buffer overflow condition may also create opportunities for code execution depending on memory layout and exploitation techniques.

Root Cause

The root cause is insufficient input validation in the NAS message processing routine. The code accepts IMSI strings without properly checking their length against buffer boundaries. When an IMSI string exceeding 1000 characters is received, it overflows the allocated stack buffer, corrupting adjacent memory including potentially critical stack data such as return addresses and saved registers.

The vulnerability is classified as CWE-121 (Stack-based Buffer Overflow), indicating that the overflow occurs in stack memory rather than heap memory, which can make exploitation more straightforward in certain scenarios.

Attack Vector

The attack is network-based and targets the N1 interface, which handles communication between User Equipment (UE) and the AMF. An attacker with network access to the N1 interface can craft a malicious NAS message containing an IMSI string exceeding the expected buffer size. The attack flow involves:

  1. Establishing a connection to the target AMF's N1 interface
  2. Constructing a NAS message with an oversized IMSI field (>1000 characters)
  3. Sending the malformed message to trigger the buffer overflow
  4. The AMF crashes or executes attacker-controlled code depending on the payload

The vulnerability does not require authentication or valid credentials, making it accessible to any attacker with network connectivity to the vulnerable interface. For detailed technical analysis, refer to the GitHub Vulnerability Report.

Detection Methods for CVE-2025-65805

Indicators of Compromise

  • Unexpected AMF service crashes or restarts
  • Anomalous NAS messages with unusually large IMSI fields observed in network traffic
  • Segmentation faults or memory corruption errors in AMF logs
  • Unusual network traffic patterns targeting the N1 interface

Detection Strategies

  • Implement network monitoring to detect NAS messages with IMSI strings exceeding normal lengths (typically 15 digits)
  • Deploy intrusion detection rules to flag oversized IMSI fields in N1 interface traffic
  • Monitor AMF process health for unexpected terminations or memory violations
  • Enable enhanced logging for NAS message processing to capture malformed message attempts

Monitoring Recommendations

  • Implement continuous monitoring of AMF service availability and process status
  • Set up alerts for repeated connection attempts to the N1 interface from unusual sources
  • Monitor system logs for buffer overflow indicators such as segfaults or stack smashing detected messages
  • Deploy network traffic analysis tools to baseline and alert on anomalous NAS message patterns

How to Mitigate CVE-2025-65805

Immediate Actions Required

  • Restrict network access to the N1 interface using firewall rules to limit exposure
  • Implement network segmentation to isolate 5G core components from untrusted networks
  • Monitor AMF services for signs of exploitation attempts
  • Review and upgrade OpenAirInterface CN5G AMF to a patched version when available

Patch Information

No official patch information has been published at this time. Organizations should monitor the OpenAirInterface project for security updates and apply patches as soon as they become available. Until a patch is released, implementing the workarounds below is strongly recommended.

Workarounds

  • Implement input validation at the network perimeter to reject NAS messages with oversized IMSI fields
  • Deploy a network-based filter or WAF to drop packets containing IMSI strings exceeding 15 characters
  • Restrict access to the N1 interface to only authorized and trusted network segments
  • Consider running the AMF service in a sandboxed environment to limit the impact of potential exploitation
bash
# Example: Restrict N1 interface access using iptables
# Allow only trusted networks to access AMF N1 interface (adjust ports as needed)
iptables -A INPUT -p tcp --dport <N1_PORT> -s <TRUSTED_NETWORK> -j ACCEPT
iptables -A INPUT -p tcp --dport <N1_PORT> -j DROP

# Enable logging for blocked attempts
iptables -A INPUT -p tcp --dport <N1_PORT> -j LOG --log-prefix "AMF-N1-BLOCKED: "

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechOpenairinterface

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.10%

  • 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-121
  • Technical References
  • GitHub Vulnerability Report
  • Related CVEs
  • CVE-2026-30077: OpenAirInterface AMF DoS Vulnerability

  • CVE-2025-66786: OpenAirInterface CN5G AMF DoS 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