CVE-2014-8998: lib/message.php in X7 Chat 2.0.0 through 2.0.5.1 allows remote authenticated users to execute arbitrary PHP co
CVE-2014-8998 is a medium-severity flaw (CVSS 6.5) affecting x7 chat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
lib/message.php in X7 Chat 2.0.0 through 2.0.5.1 allows remote authenticated users to execute arbitrary PHP code via a crafted HTTP header to index.php, which is processed by the preg_replace function with the eval switch.
Why this priority
- EPSS top 2%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.5 (Medium) |
| EPSS exploit chance | 35.9% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2014-11-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit)
- Metasploit: X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2014-8998?
x7 chat: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2014-8998 being exploited?
CVE-2014-8998 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2014-8998 affect?
CVE-2014-8998 affects x7 chat. Severity is medium (CVSS 6.5). lib/message.php in X7 Chat 2.0.0 through 2.0.5.1 allows remote authenticated users to execute arbitrary PHP code via a crafted HTTP header to index.php, which is processed by the preg_replace function with the eval switch.
How urgent is CVE-2014-8998?
Priority 52/100. EPSS top 2%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2012-6047 MEDIUM 6.8 UPGRADE Cross-site request forgery (CSRF) vulnerability in X7 Chat 2.0.5.1 and earlier allows remote attackers to hija