rAthena
CVE-2025-58750
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish authenticated character-server session
-
DeliverySend crafted moveCharSlot packet with out-of-range slot index
-
ExploitTrigger missing bounds check in chclif_parse_moveCharSlot
-
ExecutionOut-of-bounds read/write corrupts server memory
-
ImpactDisclose 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Rated critical
Unauthenticated SQL injection in rAthena's optional web service PartyBooking handler, where the attacker-supplied WorldN
Origin validation bypass in the PayPal IPN handler of rAthena FluxCP through commit 98cd4b8fd83228c11b36fb3d097b8e0f7c10
A use-after-free flaw in rAthena's RODEX (in-game mail) handling lets remote attackers crash the map-server, causing a d
FluxCP is a web-based Control Panel for rAthena servers written in PHP. Rated medium severity (CVSS 6.1), this vulnerabi
A vulnerability was found in rAthena FluxCP. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitabl
NVD
CVE.org
EPSS
GitHub
Exploit-DB