Skip to content
Fencer Intel
critical 9.8

CVE-2015-5243 json

phpWhois arbitrary code execution via a crafted whois record

published 2018-08-20 8 y ago modified 2026-06-17 4 mo ago also GHSA-c95f-27gx-6vq9 , EUVD-2022-3545

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.2%
EPSS 6.2% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.

Patch / fix

  • packagist jsmitty12/phpwhois 5.1.0

Exploit prediction

6.19% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist jsmitty12/phpwhois
<5.1.0
5.1.0
packagist phpwhois/phpwhois
<=4.2.5
no fix listed
packagist brightlocal/phpwhois
<=4.2.5
no fix listed
packagist david-garcia/phpwhois
<=4.3.1
no fix listed
packagist ivankristianto/phpwhois
<=4.3.0
no fix listed
packagist kazist/phpwhois
<=4.2.6
no fix listed
packagist serluck/phpwhois
<=4.2.6
no fix listed
packagist simple-updates/phpwhois
<=1.0.0
no fix listed
packagist truckersmp/phpwhois
<=4.3.1
no fix listed

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.