#VU110512 Input validation error in PHP - CVE-2004-1018

 

#VU110512 Input validation error in PHP - CVE-2004-1018

Published: December 8, 2020 / Updated: June 13, 2025


Vulnerability identifier: #VU110512
Vulnerability risk: High
CVSSv4.0:
CVE-ID: CVE-2004-1018
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
PHP
Software vendor:
PHP Group

Description

The vulnerability allows attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can bypass safe mode restrictions, cause a denial of service, or execute arbitrary code via (1) a negative offset value to the shmop_write function, (2) an "integer overflow/underflow" in the pack function, or (3) an "integer overflow/underflow" in the unpack function. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.


Remediation

Install update from vendor's website.

External links