{
    "id": "CVE-2017-9841",
    "published": "2017-06-27 17:29:00",
    "last_modified": "2026-06-17 01:29:01",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-94",
    "description": "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.",
    "epss_score": "0.99999",
    "epss_percentile": "0.99994",
    "kev": 1,
    "kev_due": "2022-08-15",
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:21:37",
    "priority": {
        "rank": 1,
        "label": "Patch first",
        "why": "On CISA KEV — known exploited in the wild, due 2022-08-15."
    },
    "products": [
        {
            "vendor": "oracle",
            "product": "communications_diameter_signaling_router"
        },
        {
            "vendor": "phpunit_project",
            "product": "phpunit"
        }
    ],
    "kev_detail": {
        "cve_id": "CVE-2017-9841",
        "date_added": "2022-02-15",
        "due_date": "2022-08-15",
        "vendor": "PHPUnit",
        "product": "PHPUnit",
        "name": "PHPUnit Command Injection Vulnerability",
        "ransomware": 0
    },
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "50702",
            "title": "PHP Unit 4.8.28 - Remote Code Execution (RCE) (Unauthenticated)",
            "date": "2022-02-02",
            "url": "https://www.exploit-db.com/exploits/50702"
        }
    ],
    "refs_list": [
        "http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/",
        "http://www.securityfocus.com/bid/101798",
        "http://www.securitytracker.com/id/1039812",
        "https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5",
        "https://github.com/sebastianbergmann/phpunit/pull/1956",
        "https://security.gentoo.org/glsa/201711-15",
        "https://www.oracle.com/security-alerts/cpuoct2021.html",
        "http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/",
        "http://www.securityfocus.com/bid/101798",
        "http://www.securitytracker.com/id/1039812",
        "https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5",
        "https://github.com/sebastianbergmann/phpunit/pull/1956",
        "https://security.gentoo.org/glsa/201711-15",
        "https://www.oracle.com/security-alerts/cpuoct2021.html",
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841"
    ]
}