{
  "id": "CVE-2025-58447",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58447",
  "published_at": "2025-09-09T22:11:03.376Z",
  "title": "rAthena has heap-based buffer overflow in login server",
  "vendor": "rathena",
  "product": "rathena",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:rathena:rathena:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "Clouduxe/rathena-server-hardening",
      "url": "https://github.com/Clouduxe/rathena-server-hardening",
      "created_at": "2026-11-27T22:30:55Z",
      "first_seen_at": "2026-11-27T22:48:38.355Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-11-27T21:33:00Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "rathena",
        "product": "rathena",
        "ranges": [
          "\u003c 2f5248b"
        ],
        "fixed_in": [
          "2f5248b"
        ]
      }
    ],
    "upgrade": [
      "Upgrade rathena to 2f5248b or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/rathena/rathena/security/advisories/GHSA-4p33-6xqr-cm6x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/rathena/rathena/commit/2f5248b9cd9a8c6b42422ddecfc4cc2cd0e69e4b"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
