CVE catalog

CVE-2017-9841

phpunit: CVE-2017-9841

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
Exploitation
CISA Known Exploited Vulnerabilities
EPSS
100.00% · Oct 25, 2026

PHPUnit 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphpunitsid13.4.5+ds-1fixed
Debianphpunitforky13.4.3+ds-1fixed
Debianphpunittrixie11.5.19-1+deb13u1fixed
Debianphpunitbookworm9.6.7-1+deb12u1fixed
Ubuntuphpunitpro4.7.6-1vulnerable
Ubuntuphpunitpro4.8.16-1vulnerable
Ubuntuphpunitpro5.1.3-1ubuntu1vulnerable
Ubuntuphpunitpro5.1.3-1+build1vulnerable
Ubuntuphpunitpro5.1.3-1+ubuntu1vulnerable
Ubuntuphpunitpro5.1.3-1+ubuntu3vulnerable
Ubuntuphpunitpro5.1.3-1+ubuntu3+esm1fixed
Ubuntuphpunitpro4.7.6-1vulnerable
Ubuntuphpunitpro4.8.16-1vulnerable
Ubuntuphpunitpro5.1.3-1ubuntu1vulnerable
Ubuntuphpunitpro5.1.3-1+build1vulnerable
Ubuntuphpunitpro5.1.3-1+ubuntu1vulnerable
Ubuntuphpunitpro5.1.3-1+ubuntu3vulnerable
Ubuntuphpunitpro5.1.3-1+ubuntu3+esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphpunitsourcesid5.4.6-2not yet assignedNot reported[866200]
Debianphpunitsourceforky5.4.6-2not yet assignedNot reported[866200]
Debianphpunitsourcetrixie5.4.6-2not yet assignedNot reported[866200]
Debianphpunitsourcebookworm5.4.6-2not yet assignedNot reported[866200]
Ubuntuphpunitdebpro5.1.3-1+ubuntu3+esm1Not reportedUSN-7171-1Not reported
Ubuntuphpunitdebpro5.1.3-1+ubuntu3+esm1Not reportedUBUNTU-CVE-2017-9841Not reported

[Debian bug #866200]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [phpunit]Fixed
    Details (2)
    • 9.6.7-1+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.6-2

      dsa · phpunit · debian · bookworm; dsa · phpunit · debian · 12

    • 9.6.7-1+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.6-2

      dsa · phpunit · debian · bookworm; dsa · phpunit · debian · 12

[Debian 13 (Trixie)]

  • [phpunit]Fixed
    Details (2)
    • 11.5.19-1+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.6-2

      dsa · phpunit · debian · 13

    • 11.5.19-1+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.6-2

      dsa · phpunit · debian · 13

Observed:

References