A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-62170

CVE-2025-62170: Rathena MMORPG Server DoS Vulnerability

CVE-2025-62170 is a use-after-free denial of service flaw in Rathena MMORPG server's map-server that allows unauthenticated attackers to crash the service. This article covers technical details, affected versions, and patches.

Updated: May 19, 2026

CVE-2025-62170 Overview

CVE-2025-62170 is a use-after-free vulnerability in the RODEX (mail) functionality of rAthena, an open-source cross-platform MMORPG server. The flaw resides in the map-server component and affects all versions prior to commit af2f3ba. An unauthenticated remote attacker can trigger the vulnerability over the network to crash the map-server, resulting in denial of service for connected game clients. The issue is tracked under [CWE-416: Use After Free] and has been patched upstream in commit af2f3ba33fc03dc6dd510f8cfe84cd9185af748d.

Critical Impact

Unauthenticated network attackers can crash the rAthena map-server, taking the entire game world offline and disrupting all connected players.

Affected Products

  • rAthena map-server versions prior to commit af2f3ba
  • rAthena RODEX (mail system) functionality in src/map/clif.cpp
  • All deployments running rAthena MMORPG server before the patched commit

Discovery Timeline

  • 2025-10-13 - CVE-2025-62170 published to NVD
  • 2025-10-13 - Patch released via commit af2f3ba and GitHub Security Advisory GHSA-9mj9-8vgv-r92j
  • 2025-10-20 - Last updated in NVD database

Technical Details for CVE-2025-62170

Vulnerability Analysis

The vulnerability is a use-after-free condition in the RODEX mail-handling logic of rAthena's map-server. When the server calculates the total weight of items attached to a mail message, it dereferences entries in the sd->inventory_data array without validating the inventory index or confirming that the pointer is non-null. An attacker who manipulates RODEX mail interactions can cause the server to access freed or invalid item_data memory, dereferencing an invalid pointer and crashing the process. Because the attack targets unauthenticated network-reachable code paths in the map-server, exploitation only requires the ability to send crafted packets to the service.

Root Cause

The root cause is missing bounds and null-pointer validation on sd->mail.item[i].index and sd->inventory_data[...] inside the RODEX weight calculation. The original code assumed the inventory entry was always valid, allowing a stale or out-of-range index to dereference freed memory.

Attack Vector

The attack vector is network-based and unauthenticated against the map-server's RODEX packet handlers. A remote attacker triggers a specific RODEX interaction scenario that causes the map-server to evaluate a mail item with an invalid or freed inventory reference, crashing the server and producing a denial-of-service condition.

cpp
// Patch from commit af2f3ba in src/map/clif.cpp
// Fixed a possible crash with RODEX
            break;
        }

-       total += sd->mail.item[i].amount * ( sd->inventory_data[sd->mail.item[i].index]->weight / 10 );
+       if( sd->mail.item[i].index < 0 || sd->mail.item[i].index >= MAX_INVENTORY ){
+           continue;
+       }
+
+       item_data* id = sd->inventory_data[sd->mail.item[i].index];
+
+       if( id == nullptr ){
+           continue;
+       }
+
+       total += sd->mail.item[i].amount * ( id->weight / 10 );
    }

    p.weight = total;
// Source: https://github.com/rathena/rathena/commit/af2f3ba33fc03dc6dd510f8cfe84cd9185af748d

The patch adds two guards: a bounds check against MAX_INVENTORY and a null check on the resulting item_data* pointer. Either condition now causes the loop iteration to continue rather than dereference invalid memory.

Detection Methods for CVE-2025-62170

Indicators of Compromise

  • Unexpected crashes or restarts of the rAthena map-server process, especially correlated with client RODEX (mail) activity
  • Core dumps or segmentation faults referencing clif.cpp weight-calculation code paths
  • Abnormal volumes of inbound RODEX-related packets from a single source IP prior to a crash

Detection Strategies

  • Monitor the running rAthena commit hash and flag any deployment running a commit earlier than af2f3ba33fc03dc6dd510f8cfe84cd9185af748d
  • Review server logs and process supervisor events for repeated unplanned map-server terminations
  • Capture network traces of RODEX packet flows during crash windows for offline analysis

Monitoring Recommendations

  • Alert on map-server process exits or restarts outside of scheduled maintenance windows
  • Track per-source-IP RODEX request rates to identify abusive clients targeting mail functionality
  • Enable crash reporting and retain core dumps for forensic correlation with GHSA-9mj9-8vgv-r92j

How to Mitigate CVE-2025-62170

Immediate Actions Required

  • Update the rAthena source tree to a revision that includes commit af2f3ba33fc03dc6dd510f8cfe84cd9185af748d and rebuild the map-server
  • Restart all map-server instances after applying the patch to ensure the vulnerable code path is no longer loaded
  • Restrict map-server network exposure to trusted networks where operationally feasible

Patch Information

The maintainers fixed the issue in commit af2f3ba, which adds inventory-index bounds checking and a null-pointer check on item_data* before dereferencing it during RODEX weight calculation. Full details are in the rAthena GitHub Security Advisory GHSA-9mj9-8vgv-r92j.

Workarounds

  • There are no official workarounds other than manually applying the patch from commit af2f3ba
  • Operators unable to update immediately should monitor map-server availability closely and prepare automated restart tooling
  • Consider temporarily disabling RODEX-related features in server configuration if upstream patching is delayed
bash
# Pull the patched rAthena source and rebuild the map-server
git fetch origin
git checkout master
git pull origin master
git log --oneline | grep af2f3ba

# Rebuild from a clean state
make clean
make server

# Restart the map-server process
./map-server

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRathena

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.11%

  • 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-416
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-9mj9-8vgv-r92j
  • Related CVEs
  • CVE-2025-58447: Rathena MMORPG Server RCE Vulnerability

  • CVE-2025-58448: Rathena MMORPG Server SQLi Vulnerability

  • CVE-2025-58750: Rathena Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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