Input validation error in PHP - CVE-2007-1286

 

Input validation error in PHP - CVE-2007-1286

Published: October 16, 2018 / Updated: June 14, 2025


Vulnerability identifier: #VU110455
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-1286
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the unserialize function, which triggers the overflow in the ZVAL reference counter.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-1286

Install update from vendor's website.

PHP - update to 4.4.5
dev-lang/php - addressed in versions 5.2.1-r3, 5.2.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins