CVE-2025-58447 rAthena has heap-based buffer overflow in login server

Critical 9.8 Published Updated

Remote attackers can cause denial of service or execute code via heap overflow in the rAthena login server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-58447?

CVE-2025-58447 is a critical memory corruption vulnerability in rathena, published on 9 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Versions prior to commit 2f5248b have a heap-based buffer overflow in the login server, remote attacker to overwrite adjacent session fields by sending a crafted `CA_SSO_LOGIN_REQ` with an oversized token length. This leads to immediate denial of service (crash) and it is possible to achieve remote code execution via heap corruption. Commit 2f5248b fixes the issue.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2025-58447?

It affects 1 product.

Products include Rathena Rathena.

How do I fix CVE-2025-58447?

No fix has been published for CVE-2025-58447 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-58447 being exploited?

There is no known exploitation of CVE-2025-58447 in the wild and no public exploit code.

Sources

Also known as GHSA-4p33-6xqr-cm6x.

Is CVE-2025-58447 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free