rAthena
CVE-2025-62170
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to exposed map-server
-
ExploitReach RODEX mail removeitem path
-
ExecutionTrigger use-after-free on inventory_data
-
ImpactCrash map-server (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 | Exploitation targets the RODEX in-game mail functionality of the rAthena map-server, specifically the clif_mail_removeitem routine, where sd->mail.item[i].index was used to index sd->inventory_data without bounds (0..MAX_INVENTORY) or null validation, yielding a use-after-free/out-of-bounds dereference. The description states an unauthenticated attacker can trigger it (consistent with CVSS PR:N) but only 'via a specific attacking scenario,' so a particular crafted mail/inventory state is required rather than a single trivial packet. Limiting factors: the target must be a reachable, running map-server (private RO servers are typically internet-exposed to players); impact is confined to a crash/DoS (no C/I impact); and only versions prior to commit af2f3ba are affected, so patched/updated servers are not exploitable. |
| Impact | This is a CWE-416 use-after-free in the RODEX (mail) handling of rAthena's map-server, scored CVSS 7.5 with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - a pure availability impact (A:H), with no confidentiality or integrity loss. The network, low-complexity, no-privilege, no-interaction vector would normally signal easy mass exploitation, but the impact ceiling is a denial of service only: crashing the map-server, not code execution or data compromise. There is no EPSS score, KEV listing, or POC in the provided data, so exploitation is 'no public exploit identified at time of analysis'; the only available exploit-relevant artifact is the vendor patch commit (af2f3ba), which reveals the root cause (a missing bounds check on sd->mail.item[i].index into inventory_data plus a missing null check) but is a fix, not weaponized attack code. One tension to verify: the description calls the attacker 'unauthenticated' and the CVSS vector agrees (PR:N), yet RODEX is an in-game mail feature typically reached by a connected game client, and the description's own qualifier 'via a specific attacking scenario' implies a non-trivial precondition - so the real-world ease of reaching this code path may be lower than AC:L/PR:N suggests. Net: a genuine availability risk for operators of exposed rAthena map-servers, but a DoS-only bug in niche hobbyist software, not a critical RCE priority; patch on normal maintenance cadence. |
| Exploit ScenarioDerived | An attacker interacting with an exposed rAthena map-server triggers the RODEX mail removeitem code path with a crafted mail/inventory state, causing clif_mail_removeitem to dereference a freed or out-of-range inventory_data entry. The resulting use-after-free crashes the map-server, disconnecting all players. No public exploit code is identified; only the vendor fix commit is available, and the description notes a 'specific attacking scenario' is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
A use-after-free flaw in rAthena's RODEX (in-game mail) handling lets remote attackers crash the map-server, causing a denial of service on affected private Ragnarok Online servers running versions prior to commit af2f3ba. The vulnerability is unauthenticated per the CVSS vector (PR:N) and requires a specific crafted mail/inventory state rather than a single trivial packet, resulting in an availability-only impact (A:H) with no confidentiality or integrity loss. No public exploit code or confirmed active exploitation was identified at time of analysis; a vendor-released patch in commit af2f3ba resolves the issue, and no workaround exists aside from manually applying it.
RemediationAI
Apply the upstream fix by updating rAthena to commit af2f3ba33fc03dc6dd510f8cfe84cd9185af748d (or any later revision containing it) and rebuild/redeploy the map-server; the patch adds bounds and null validation in clif_mail_removeitem and is referenced in advisory GHSA-9mj9-8vgv-r92j. Because the project ships via source commits rather than tagged releases, administrators who cannot immediately rebase should manually backport the diff from https://github.com/rathena/rathena/commit/af2f3ba33fc03dc6dd510f8cfe84cd9185af748d into src/map/clif.cpp and recompile. No official workaround exists; as a compensating control with a clear trade-off, disable or restrict the RODEX mail feature for untrusted players or limit map-server exposure to trusted networks, though this reduces gameplay functionality for legitimate users. Monitor map-server crash logs for repeated terminations tied to mail removal as an indicator of attempted exploitation.
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, cross-platform Ragnarok Online server emulator whose map-server handles gameplay, including the RODEX mail system. The defect is CWE-416 (Use After Free) rooted in the clif_mail_removeitem routine in src/map/clif.cpp, where a mail item's inventory index (sd->mail.item[i].index) was used directly to index the sd->inventory_data array to compute item weight for a removal/return operation, without validating the index against the valid range (0 to MAX_INVENTORY) or checking the resulting item_data pointer for null. An index pointing to a stale or freed inventory entry yields an out-of-bounds/use-after-free dereference, which the map-server cannot recover from and terminates. The fix adds a bounds check that skips out-of-range indices and a null check on the dereferenced item_data pointer before use, confining the calculation to valid, live inventory entries. Only builds prior to commit af2f3ba are affected.
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:N/I:N/A:H
Network-reachable map-server, no authentication or interaction per the advisory (PR:N/UI:N), availability-only crash impact (A:H, C/I:N); AC:L retained though 'specific scenario' wording could arguably support AC:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
rAthena is an open-source cross-platform MMORPG server. A use-after-free vulnerability exists in the RODEX functionality of rAthena's map-server in versions prior to commit af2f3ba. An unauthenticated attacker can exploit this vulnerability via a specific attacking scenario to cause a denial of service by crashing the map-server. This issue has been patched in commit af2f3ba. There are no known workarounds aside from manually applying the patch.
Executive ViewAI
A use-after-free flaw in rAthena's RODEX in-game mail handling lets an unauthenticated remote player crash the map-server, taking game worlds offline for private Ragnarok Online operators running builds prior to commit af2f3ba. The defect is availability-only - no player data, credentials, or currency can be read or altered - but any unauthenticated user can repeatedly deny service, which directly erodes player trust and uptime for a live-service game. No public exploit code or confirmed active exploitation was identified at time of analysis, and a vendor fix is available, so this is a manageable patching commitment rather than an emergency.
Apply vendor patch (commit af2f3ba); no alternative workaround was identified at time of analysis.
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
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
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
Authenticated remote attackers can cause out-of-bounds reads and writes in rAthena's character server by sending a craft
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