Input validation error in PHP - CVE-2016-4540

 

Input validation error in PHP - CVE-2016-4540

Published: October 30, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110262
CSH Severity: High
CVSS v4: []
CVE-ID: CVE-2016-4540
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a negative offset.


Affected software

PHP
Fedora
php

How to mitigate CVE-2016-4540

Install update from vendor's website.

PHP - addressed in versions 5.6.21, 7.0.6
php - addressed in versions 5.6.21-1.fc22, 5.6.21-1.fc24

External References

Related Security Bulletins