CVE-2018-25221 EChat Server 3.1 Buffer Overflow via chat.ghp username Parameter
Remote attackers can execute arbitrary code on EChat Server by sending a crafted GET request with an oversized username parameter to the chat.ghp endpoint.
- 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-2018-25221?
CVE-2018-25221 is a critical memory corruption vulnerability in Echatserver EChat Server, published on 28 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
EChat Server 3.1 contains a buffer overflow vulnerability in the chat.ghp endpoint that allows remote attackers to execute arbitrary code by supplying an oversized username parameter. Attackers can send a GET request to chat.ghp with a malicious username value containing shellcode and ROP gadgets to achieve code execution in the application context.
Weakness: CWE-787
Which versions are affected by CVE-2018-25221?
It affects 1 product.
Products include Echatserver Easy Chat Server.
How do I fix CVE-2018-25221?
No fix has been published for CVE-2018-25221 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-2018-25221 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25221 exists.
Other vulnerabilities in Echatserver EChat Server
Sources
Also known as GHSA-4xgm-gv32-5pqv.