
CVE catalog
CVE-2017-9841
phpunit: CVE-2017-9841
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | phpunit | sid | 13.4.5+ds-1 | fixed |
| Debian | phpunit | forky | 13.4.3+ds-1 | fixed |
| Debian | phpunit | trixie | 11.5.19-1+deb13u1 | fixed |
| Debian | phpunit | bookworm | 9.6.7-1+deb12u1 | fixed |
| Ubuntu | phpunit | pro | 4.7.6-1 | vulnerable |
| Ubuntu | phpunit | pro | 4.8.16-1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1ubuntu1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+build1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+ubuntu1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+ubuntu3 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+ubuntu3+esm1 | fixed |
| Ubuntu | phpunit | pro | 4.7.6-1 | vulnerable |
| Ubuntu | phpunit | pro | 4.8.16-1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1ubuntu1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+build1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+ubuntu1 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+ubuntu3 | vulnerable |
| Ubuntu | phpunit | pro | 5.1.3-1+ubuntu3+esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | phpunit | source | sid | 5.4.6-2 | not yet assigned | Not reported | [866200] |
| Debian | phpunit | source | forky | 5.4.6-2 | not yet assigned | Not reported | [866200] |
| Debian | phpunit | source | trixie | 5.4.6-2 | not yet assigned | Not reported | [866200] |
| Debian | phpunit | source | bookworm | 5.4.6-2 | not yet assigned | Not reported | [866200] |
| Ubuntu | phpunit | deb | pro | 5.1.3-1+ubuntu3+esm1 | Not reported | USN-7171-1 | Not reported |
| Ubuntu | phpunit | deb | pro | 5.1.3-1+ubuntu3+esm1 | Not reported | UBUNTU-CVE-2017-9841 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [phpunit]Fixed
Details (2)
9.6.7-1+deb12u1· all · bookwormFixed · Fixed:
5.4.6-2dsa · phpunit · debian · bookworm; dsa · phpunit · debian · 12
9.6.7-1+deb12u1· all · bookwormFixed · Fixed:
5.4.6-2dsa · phpunit · debian · bookworm; dsa · phpunit · debian · 12
[Debian 13 (Trixie)]
- [phpunit]Fixed
Details (2)
11.5.19-1+deb13u1· all · trixieFixed · Fixed:
5.4.6-2dsa · phpunit · debian · 13
11.5.19-1+deb13u1· all · trixieFixed · Fixed:
5.4.6-2dsa · phpunit · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-9841]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-9841]
- [https://osv.dev/vulnerability/USN-7171-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-9841]
- [https://www.cisa.gov/known-exploited-vulnerabilities-catalog]
[CISA Known Exploited Vulnerabilities (OSINT)] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]