CVE-2017-9841Util/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 "<?php " substring, as demonstrated by…
Updated under an hour ago ()
Does this affect you?
It affects phpunit_project phpunit and 1 other product. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Feb 15, 2022; federal agencies had to remediate by Aug 15, 2022. Treat that date as your deadline.
Do this next
Free account, 1 product
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 "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.
- CVSS
- 9.8 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-94
- Known exploited
- Added to CISA KEV Feb 15, 2022; federal remediation due Aug 15, 2022Apply updates per vendor instructions.
- EPSS (exploitation in the next 30 days)
- 100.00% (percentile 100)
- Assigned by
- mitre
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
phpunit_project phpunit phpunit_project:phpunit | through 4.8.27; from 5.0.0 before 5.6.3 | NVD |
oracle communications_diameter_signaling_router oracle:communications_diameter_signaling_router | from 8.0.0 through 8.5.0 | NVD |
References
- http://www.securityfocus.com/bid/101798vdb-entry, x-refsource-bid, broken-link
- http://www.securitytracker.com/id/1039812vdb-entry, x-refsource-sectrack, broken-link
- https://security.gentoo.org/glsa/201711-15vendor-advisory, x-refsource-gentoo, third-party-advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlx-refsource-misc, patch, third-party-advisory
- https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5x-refsource-misc, patch, third-party-advisory
- https://github.com/sebastianbergmann/phpunit/pull/1956x-refsource-misc, patch, third-party-advisory
- http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/x-refsource-misc, third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.