Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "
CVE-2017-9841
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-02-15), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 99(Act)EG Risk 99/100SSVC: Act
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation100% × 40%Automatability100% × 15%Action: Fix now — active exploitation, automatable, high impact. - EPSS PROB
- 100%
- EPSS %ILE
- 100%
- KEV
- ⚠ Exploited
Published
June 27, 2017
Last Modified
June 17, 2026
Advisory Details (6)
Auto-updated Aug 24, 2026CVE-2017-9841 RCE vulnerability in phpunit
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/PHPUnit: Remote code execution (GLSA 201711-15) — Gentoo security
https://security.gentoo.org/glsa/201711-15Fix insulated tests with phpdbg
Fix merged in sebastianbergmann/phpunit PR #1956 on 2015-11-17 — awaiting tagged release
https://github.com/sebastianbergmann/phpunit/pull/1956commit 284a69fb88a2 (sebastianbergmann/phpunit)
Patch available: sebastianbergmann/phpunit 12.5.25 (contains commit 284a69fb88a2)
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | phpunit (5.1.3-1+ubuntu3+esm1) @ xenial | 2026-08-29 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| phpunit | — | 5.4.6-2 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| phpunit | — | 5.4.6-2 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| phpunit | — | 5.4.6-2 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| phpunit | — | 5.4.6-2 | — |
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| phpunit/phpunit | 5.0.10 ... 5.6.2 (48 versions) | 5.6.3 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 38× in last 7d / 174× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 494 total refreshes for this CVE.
- 2026-08-29 08:10 UTCVendor advisory
- 2026-08-29 00:27 UTCVendor advisory
- 2026-08-28 01:15 UTCVendor advisory
- 2026-08-27 21:24 UTCVendor advisory
- 2026-08-27 17:22 UTCCISA KEV update
- 2026-08-27 13:44 UTCVendor advisory
- 2026-08-27 09:55 UTCVendor advisory
- 2026-08-27 02:07 UTCVendor advisory
- 2026-08-26 18:26 UTCVendor advisory
- 2026-08-26 17:41 UTCCISA KEV update
- 2026-08-26 14:37 UTCVendor advisory
- 2026-08-26 10:46 UTCVendor advisory
- 2026-08-26 06:57 UTCVendor advisory
- 2026-08-26 03:07 UTCVendor advisory
- 2026-08-25 23:16 UTCVendor advisory
- 2026-08-25 19:26 UTCVendor advisory
- 2026-08-25 15:36 UTCVendor advisory
- 2026-08-25 11:46 UTCVendor advisory
- 2026-08-25 07:56 UTCVendor advisory
- 2026-08-25 04:06 UTCVendor advisory
- 2026-08-25 00:17 UTCVendor advisory
- 2026-08-24 20:27 UTCVendor advisory
- 2026-08-24 18:52 UTCCISA KEV update
- 2026-08-24 16:38 UTCVendor advisory
- 2026-08-24 12:47 UTCVendor advisory
Show 75 moreShow fewer
- 2026-08-24 08:57 UTCVendor advisory
- 2026-08-24 05:07 UTCVendor advisory
- 2026-08-24 01:18 UTCVendor advisory
- 2026-08-23 21:28 UTCVendor advisory
- 2026-08-23 17:38 UTCVendor advisory
- 2026-08-23 13:49 UTCVendor advisory
- 2026-08-23 09:59 UTCVendor advisory
- 2026-08-23 06:10 UTCVendor advisory
- 2026-08-23 02:20 UTCVendor advisory
- 2026-08-22 22:31 UTCVendor advisory
- 2026-08-22 18:41 UTCVendor advisory
- 2026-08-22 14:51 UTCVendor advisory
- 2026-08-22 11:01 UTCVendor advisory
- 2026-08-22 07:12 UTCVendor advisory
- 2026-08-22 03:22 UTCVendor advisory
- 2026-08-21 23:32 UTCVendor advisory
- 2026-08-21 19:42 UTCVendor advisory
- 2026-08-21 16:49 UTCCISA KEV update
- 2026-08-21 15:52 UTCVendor advisory
- 2026-08-21 12:02 UTCVendor advisory
- 2026-08-21 08:13 UTCVendor advisory
- 2026-08-21 04:23 UTCVendor advisory
- 2026-08-21 00:33 UTCVendor advisory
- 2026-08-20 20:44 UTCVendor advisory
- 2026-08-20 17:06 UTCCISA KEV update
- 2026-08-20 16:54 UTCVendor advisory
- 2026-08-20 13:04 UTCVendor advisory
- 2026-08-20 09:14 UTCVendor advisory
- 2026-08-20 05:23 UTCVendor advisory
- 2026-08-20 01:33 UTCVendor advisory
- 2026-08-19 21:43 UTCVendor advisory
- 2026-08-19 17:53 UTCVendor advisory
- 2026-08-19 17:33 UTCCISA KEV update
- 2026-08-19 14:03 UTCVendor advisory
- 2026-08-19 10:13 UTCVendor advisory
- 2026-08-19 06:23 UTCVendor advisory
- 2026-08-18 22:39 UTCVendor advisory
- 2026-08-18 18:48 UTCVendor advisory
- 2026-08-18 16:58 UTCCISA KEV update
- 2026-08-18 14:57 UTCVendor advisory
- 2026-08-18 11:08 UTCVendor advisory
- 2026-08-18 07:15 UTCVendor advisory
- 2026-08-17 23:35 UTCVendor advisory
- 2026-08-17 15:52 UTCVendor advisory
- 2026-08-17 13:56 UTCCISA KEV update
- 2026-08-17 12:02 UTCVendor advisory
- 2026-08-17 08:11 UTCVendor advisory
- 2026-08-17 04:22 UTCVendor advisory
- 2026-08-17 00:32 UTCVendor advisory
- 2026-08-16 16:52 UTCVendor advisory
- 2026-08-16 13:03 UTCVendor advisory
- 2026-08-16 09:13 UTCVendor advisory
- 2026-08-16 05:23 UTCVendor advisory
- 2026-08-16 01:34 UTCVendor advisory
- 2026-08-15 21:44 UTCVendor advisory
- 2026-08-15 17:54 UTCVendor advisory
- 2026-08-15 14:04 UTCVendor advisory
- 2026-08-15 10:14 UTCVendor advisory
- 2026-08-15 06:24 UTCVendor advisory
- 2026-08-15 02:21 UTCVendor advisory
- 2026-08-14 22:32 UTCVendor advisory
- 2026-08-14 18:42 UTCVendor advisory
- 2026-08-14 14:53 UTCVendor advisory
- 2026-08-14 11:03 UTCVendor advisory
- 2026-08-14 07:14 UTCVendor advisory
- 2026-08-14 03:24 UTCVendor advisory
- 2026-08-13 23:35 UTCVendor advisory
- 2026-08-13 19:45 UTCVendor advisory
- 2026-08-13 12:05 UTCVendor advisory
- 2026-08-13 08:16 UTCVendor advisory
- 2026-08-13 04:27 UTCVendor advisory
- 2026-08-13 00:37 UTCVendor advisory
- 2026-08-12 20:48 UTCVendor advisory
- 2026-08-12 16:58 UTCVendor advisory
- 2026-08-12 13:09 UTCVendor advisory
Publicly available exploits
(10 references)Working exploit code is in the public domain (9 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCdrcrypterdotru/PHPUnit-GoScanFirst seen Aug 30, 2025
PHPUnit CVE-2017-9841 Scanner in Go clean and fire.
Open source ↗ - GitHub PoCK3ysTr0K3R/CVE-2017-9841-EXPLOITFirst seen Jun 10, 2025
A PoC exploit for CVE-2017-9841 - PHPUnit Remote Code Execution(RCE)
Open source ↗ - GitHub PoCChocapikk/CVE-2017-9841First seen Aug 27, 2023
PHPUnit RCE
Open source ↗ - GitHub PoCMrG3P5/CVE-2017-9841First seen Mar 13, 2023
A Tool for scanning CVE-2017-9841 with multithread
Open source ↗ - GitHub PoCMadExploits/PHPunit-ExploitFirst seen Dec 7, 2022
PHPunit Checker CVE-2017-9841 By MrMad
Open source ↗ - GitHub PoCp1ckzi/CVE-2017-9841First seen Apr 9, 2022
phpunit-shell | CVE_2017-9841
Open source ↗ - GitHub PoCakr3ch/CVE-2017-9841First seen Mar 20, 2022
RCE exploit for PHP Unit 5.6.2
Open source ↗ - Exploit-DBEDB-50702First seen Feb 2, 2022
PHP Unit 4.8.28 - Remote Code Execution (RCE) (Unauthenticated)
Open source ↗ - GitHub PoCincogbyte/laravel-phpunit-rce-masscanerFirst seen Jul 4, 2021
Masscanner for Laravel phpunit RCE CVE-2017-9841
Open source ↗ - GitHub PoCludy-dev/PHPUnit_eval-stdin_RCEFirst seen Sep 14, 2020
(CVE-2017-9841) PHPUnit_eval-stdin_php Remote Code Execution
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu
- CVE-2004-0989EG 10.0EPSS p98HIGH
- CVE-2004-0990EG 10.0EPSS p98HIGH
- CVE-2004-1010EG 10.0EPSS p95HIGH
- CVE-2004-0941EG 10.0EPSS p96HIGH
- CVE-2004-0981EG 10.0EPSS p93HIGH
- CVE-2004-0882EG 10.0EPSS p96HIGH
- CVE-2004-0888EG 10.0EPSS p95HIGH
- CVE-2004-1012EG 10.0EPSS p93HIGH
- CVE-2004-1013EG 10.0EPSS p93HIGH
- CVE-2004-1018EG 10.0EPSS p97HIGH
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p97HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p96HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(6)
What is CVE-2017-9841?
When was CVE-2017-9841 disclosed?
Is CVE-2017-9841 actively exploited?
What is the CVSS score of CVE-2017-9841?
Which products are affected by CVE-2017-9841?
How do I remediate CVE-2017-9841?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2017-9841
Is Your Infrastructure Affected by CVE-2017-9841?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.