php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78284 The CLI mode causes the CPU 100% to be stuck in the entire computer.
Submitted: 2019-07-13 03:19 UTC Modified: 2019-07-13 03:21 UTC
From: only_cheng at foxmail dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 7.2.20 OS: Windows10 1903
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: only_cheng at foxmail dot com
New email:
PHP Version: OS:

 

 [2019-07-13 03:19 UTC] only_cheng at foxmail dot com
Description:
------------
test.php:

<?php
echo `php test.php`;
?>

//or below
<?php
echo `php test1.php`;
?>

test1.php:
<?php
echo 'test1';
?>

Expected result:
----------------
should output none or 'test1'

Actual result:
--------------
Enter the following address in the browser address bar:
'127.0.0.1/test.php',
then the entire computer CPU 100% caused the computer to die, I had to force the computer to restart.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-13 03:21 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2019-07-13 03:21 UTC] requinix@php.net
Don't DoS yourself.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC