
Non-destructive affected-version checker for CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp) PHP UAF
Non-destructive checker for CVE-2026-109619 / GHSA-6wmf-4rv5-p3rp — a use-after-free in the PHP interpreter via fatal-error backtrace / session upload-progress state (CVSS 9.2).
This tool only fingerprints the PHP version a target exposes (via Server / X-Powered-By headers, or an exposed phpinfo) and compares it against the patched thresholds. It does not attempt to trigger the bug: no memory-corruption payload, no crash, no exploitation. It is intended to help operators find out whether their systems need patching.
Note: PHP shipped a second, distinct critical UAF in the same release (CVE-2026-109618, GHSA-w8hw-w9fx-j79w). It has its own checker/repo. Because both are fixed in the same PHP versions, a
PATCHEDresult here means you are covered for both.
| Branch | Patched in |
|---|---|
| 8.2.x | 8.2.35 |
| 8.3.x | 8.3.36 |
| 8.4.x | 8.4.27 |
| 8.5.x | 8.5.12 |
Anything below these is reported VULNERABLE. Branches older than 8.2 are EOL and flagged VULNERABLE.
python3 php_cve_2026_109619_checker.py https://example.com
python3 php_cve_2026_109619_checker.py -f targets.txt --csv out.csv --json out.json
python3 php_cve_2026_109619_checker.py -f targets.txt -q # only VULNERABLE
cat targets.txt | python3 php_cve_2026_109619_checker.py -
Output states: VULNERABLE, PATCHED, UNKNOWN, ERROR.
UNKNOWN is not "safe". Most hardened setups run expose_php=Off, so no version banner is returned. For those, verify the backend version by other means. The tool prints the Server / X-Powered-By banner to help manual triage.session.upload_progress.enabled or fatal_error_backtraces to be on. Patching is still the correct fix.Only run this against systems you own or are explicitly authorized to test. No dependencies beyond the Python 3 standard library.
Apache-2.0 — see LICENSE.