{"id":"CVE-2015-5243","aliases":["EUVD-2022-3545","GHSA-c95f-27gx-6vq9"],"status":"published","title":"phpWhois arbitrary code execution via a crafted whois record","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06195,"percentile":0.93551,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2018-08-20T21:00:00Z","modified":"2026-06-17T00:28:44Z","fixes":[{"ecosystem":"Packagist","package":"jsmitty12/phpwhois","fixed_in":["5.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"jsmitty12/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"phpwhois/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"brightlocal/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"david-garcia/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.1"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"ivankristianto/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.0"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"kazist/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"serluck/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"simple-updates/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"truckersmp/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"jsmitty12/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v5.0","v5.0.1","v5.0.2"]},{"source":"osv","ecosystem":"Packagist","package":"phpwhois/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.5"}]}],"versions":["4.2.3","4.2.4","v4.2.5"]},{"source":"osv","ecosystem":"Packagist","package":"brightlocal/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.5"}]}],"versions":["4.2.3","4.2.4","v4.2.5"]},{"source":"osv","ecosystem":"Packagist","package":"david-garcia/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.1"}]}],"versions":["4.2.3","4.2.4","4.3.0","4.3.1","v4.2.5"]},{"source":"osv","ecosystem":"Packagist","package":"ivankristianto/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.0"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6","v4.3.0"]},{"source":"osv","ecosystem":"Packagist","package":"kazist/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.6"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6"]},{"source":"osv","ecosystem":"Packagist","package":"serluck/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.6"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6"]},{"source":"osv","ecosystem":"Packagist","package":"simple-updates/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["1.0.0"]},{"source":"osv","ecosystem":"Packagist","package":"truckersmp/phpwhois","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.1"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.3.0","v4.3.1"]}],"products":[{"vendor":"phpwhois_project","product":"phpwhois"}],"references":[{"url":"https://github.com/jsmitty12/phpWhois/issues/19","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","web"]},{"url":"https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/sparc/phpWhois.org/commit/5cc572490c9053d46598ec9348a11e36a5a33a46#diff-f150ae17da7341bf6c2eff928684b3a3","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://github.com/Gemorroj/phpwhois/commit/91c937e03c876ba1290b6de2a3ad953d2105fdd0","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://blog.nettitude.com/uk/cve-2015-5243-phpwhois-remote-code-execution","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/jsmitty12/phpWhois/blob/master/CHANGELOG.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5243","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/brightlocal/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/david-garcia/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/ivankristianto/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/kazist/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpwhois/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/serluck/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simple-updates/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/truckersmp/phpwhois/CVE-2015-5243.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c95f-27gx-6vq9"}],"sources":{"cve":[{"id":"CVE-2015-5243","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","status":"published","published":"2018-08-20T21:00:00Z","modified":"2024-08-06T06:41:08.414Z","updated_at":"2026-11-02T14:35:39.846011Z"}],"euvd":[{"id":"EUVD-2022-3545","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","status":"published","published":"2018-08-20T21:00:00Z","modified":"2024-08-06T06:41:08Z","updated_at":"2026-11-03T02:22:00.863884Z"}],"ghsa":[{"id":"GHSA-c95f-27gx-6vq9","title":"phpWhois arbitrary code execution via a crafted whois record","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","status":"published","published":"2022-05-14T00:57:40Z","modified":"2024-04-23T22:40:25Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:44.867253Z"}],"nvd":[{"id":"CVE-2015-5243","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","status":"published","published":"2018-08-20T21:29:00.417Z","modified":"2026-06-17T00:28:44.66Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:03:19.244941Z"}],"osv":[{"id":"GHSA-c95f-27gx-6vq9","title":"phpWhois arbitrary code execution via a crafted whois record","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","status":"published","published":"2022-05-14T00:57:40Z","modified":"2024-04-23T22:59:04.992993Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
