---
id: CVE-2018-25221
title: EChat Server 3.1 Buffer Overflow via chat.ghp username Parameter
summary: >-
  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 m…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: Echatserver
product: EChat Server
affected:
  - echat_server 3.1
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-03-30T15:52:00.583702Z'
exploitAvailable: true
published: '2026-03-28'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T15:19:09.212Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2018-25221'
references:
  - url: 'https://www.exploit-db.com/exploits/44155'
    label: ExploitDB-44155
  - url: >-
      https://www.vulncheck.com/advisories/echat-server-buffer-overflow-via-chat-ghp-username-parameter
    label: >-
      VulnCheck Advisory: EChat Server 3.1 Buffer Overflow via chat.ghp username
      Parameter
tags:
  - cve.org
  - exploit-available
epss: 0.00822
epssPercentile: 0.55743
ingestedAt: '2026-10-01T15:48:17.889Z'
---

## Overview

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.

## Affected

- `echat_server 3.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
