Input validation error in PHP - CVE-2007-1380

 

Input validation error in PHP - CVE-2007-1380

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


Vulnerability identifier: #VU110451
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-1380
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

The php_binary serialization handler in the session extension in PHP before 4.4.5, and 5.x before 5.2.1, allows context-dependent attackers to obtain sensitive information (memory contents) via a serialized variable entry with a large length value, which triggers a buffer over-read.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-1380

Install update from vendor's website.

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

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins