Buffer overflow in PHP - CVE-2007-1413

 

Buffer overflow in PHP - CVE-2007-1413

Published: October 11, 2017 / Updated: June 12, 2025


Vulnerability identifier: #VU110442
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-1413
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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

Buffer overflow in the snmpget function in the snmp extension in PHP 5.2.3 and earlier, including PHP 4.4.6 and probably other PHP 4 versions, allows context-dependent attackers to execute arbitrary code via a long value in the third argument (object id). Failed exploit attempts will likely cause a denial of serivce on the webserver.


Affected software

PHP

How to mitigate CVE-2007-1413

Install update from vendor's website.

PHP - update to 4.4.7

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins