Skip to main content

rAthena CVE-2025-58750

CRITICAL
Buffer Overflow (CWE-119)
2025-09-09 security-advisories@github.com
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Establish authenticated character-server session
  2. Delivery
    Send crafted moveCharSlot packet with out-of-range slot index
  3. Exploit
    Trigger missing bounds check in chclif_parse_moveCharSlot
  4. Execution
    Out-of-bounds read/write corrupts server memory
  5. Impact
    Disclose memory or crash character server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a connection to the rAthena character server with an active char_session_data (a logged-in game account) and the ability to send the client 'move character slot' request. The specific trigger is supplying a 'from' or 'to' character-slot index greater than or equal to MAX_CHARS in chclif_parse_moveCharSlot, which pre-patch indexes sd->found_char without validation. Limiting factors: the attacker must first reach and authenticate to the character server (not anonymous), and the server must run a version prior to commit 0cc348b; no victim user interaction is needed.

Impact

Signals conflict sharply between severity scoring and exploitation data. NVD rates this CVSS 9.1 Critical (AV:N/AC:L/PR:N/UI:N, C:H/I:H), but the quantitative exploitation signals are all cold: EPSS is 0.04% (14th percentile), it is NOT on CISA KEV, and no public exploit code is identified. The NVD vector's PR:N (unauthenticated) is questionable: chclif_parse_moveCharSlot operates on an existing struct char_session_data (sd), meaning the 'move character slot' request is handled only after a client has established a character-server session for a logged-in account - so realistic exploitation requires a valid game account (PR:L), not fully anonymous access. Combined with the niche deployment footprint of rAthena, this is best treated as a genuine but low-urgency memory-corruption bug affecting the specific population running rAthena servers, not a broad internet-facing emergency. Verify the privilege requirement with the vendor: CVSS network vector with PR:N conflicts with code requiring an authenticated character-server session.

Exploit ScenarioDerived

An attacker who has logged into an account and connected to the rAthena character server sends a crafted 'move character slot' packet containing a slot index (from/to) larger than MAX_CHARS. The missing bounds check causes an out-of-bounds read and write against the sd->found_char array, enabling memory disclosure or corruption of the character server process. No public exploit code is identified; the low AC:L means the packet is trivial to craft once a session exists.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 19, 2026

Authenticated remote attackers can cause out-of-bounds reads and writes in rAthena's character server by sending a crafted character-slot move request with invalid 'from' or 'to' slot indices, affecting builds prior to commit 0cc348b. The missing bounds check in chclif_parse_moveCharSlot lets user-controlled indices reach sd->found_char and related slot logic before validation, with assessed high confidentiality, integrity, and availability impact. Exploitation requires a logged-in game account and network access to the character server; no public exploit was identified at time of analysis, no CISA KEV active exploitation is indicated, and EPSS is low at 0.04%.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:11 CVSS 8.2

rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Buffer Overflow vulnerability could allow attackers to corrupt memory to execute arbitrary code or crash the application.

RemediationAI

Apply the vendor fix in commit 0cc348b (or any later build that contains it), which adds the missing MAX_CHARS and account-slot bounds checks in chclif_parse_moveCharSlot; verify the deployed binary was rebuilt from patched source. The vendor advisory is https://github.com/rathena/rathena/security/advisories/GHSA-pjh7-jgr8-4ff6 and the patch is https://github.com/rathena/rathena/commit/0cc348b186bbcc3c604c17c39589a319f27d469b. If immediate patching is not possible, restrict network access to the character server to trusted networks or VPN and limit accounts that can reach it, since exploitation requires an authenticated session; this reduces exposure but does not remove the memory-corruption flaw. Monitor or filter malformed character-slot move requests where feasible, accepting that such filtering is only a compensating control and may break legitimate clients.

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

rAthena is an open-source C++ MMORPG server; the flaw is in the character-server packet handler chclif_parse_moveCharSlot. Pre-patch code uses the client-supplied 'from' and 'to' character-slot values to index sd->found_char without first ensuring they are below MAX_CHARS or the account's sd->char_slots limit. Commit 0cc348b adds explicit from >= MAX_CHARS, to >= MAX_CHARS, character-presence, and account-slot checks before use. This is CWE-119 (improper restriction of operations within memory buffer bounds), producing out-of-bounds read/write memory corruption. The authoritative assessment is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, so the practical prerequisite is an authenticated connection to the character server, not anonymous access; no user interaction is needed.

Know when Rathena 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

NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.8 HIGH

The moveCharSlot handler operates on an existing character-server session, so PR:L not PR:N; the OOB read/write yields memory disclosure (C:H), corruption (I:H) and likely process crash (A:H).

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 19, 2026 - 17:28 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 17:23 NVD
HIGH CRITICAL
CVSS changed
Oct 19, 2026 - 17:23 NVD
8.2 (HIGH) 9.1 (CRITICAL)
Patch released
Mar 28, 2026 - 19:11 nvd
Patch available
CVE Published
Sep 09, 2025 - 23:15 nvd
HIGH 8.2

DescriptionNVD

rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Versions prior to commit 0cc348b are missing a bound check in chclif_parse_moveCharSlot that can result in reading and writing out of bounds using input from the user. The problem has been fixed in commit 0cc348b.

Executive ViewAI

Why It Matters

rAthena's character server, in builds prior to commit 0cc348b, can be disrupted or corrupted by crafted character-slot move requests that trigger out-of-bounds reads and writes, putting game availability and player-data integrity at risk. The issue is rated critical (CVSS 9.1) but requires a valid game account and network access to the character server, and no public exploit was identified at time of analysis. Leadership should prioritize patching externally reachable or player-facing rAthena deployments because a compromised character server can disrupt gameplay and undermine trust in account and character data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Low
niche open-source Ragnarok Online server emulator used by hobbyist/private-server community
Data Quality
4 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Affected Products (CPE)NVD

cpe:2.3:a:rathena:rathena:*:*:*:*:*:*:*:*

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