Back to CVE records
Critical 9.8Known exploited (CISA KEV)Published Jun 27, 2017

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.

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

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

  • vdb-entry, x-refsource-bid, broken-link
  • vdb-entry, x-refsource-sectrack, broken-link
  • vendor-advisory, x-refsource-gentoo, third-party-advisory
  • x-refsource-misc, patch, third-party-advisory
  • x-refsource-misc, patch, third-party-advisory
  • x-refsource-misc, patch, third-party-advisory
  • x-refsource-misc, third-party-advisory
  • us-government-resource

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.