CVE Catalog

CVE-2006-3017

High
Published: Translated: NVD NIST

Summary

A vulnerability in zend_hash_del_key_or_index in zend_hash.c in PHP before 4.4.3 and 5.x before 5.1.3 can cause zend_hash_del to delete the wrong element. This prevents a variable from being unset even when the PHP unset function is called, potentially leading to its value being used in security-relevant operations.

Risk Assessment

The organization may be exposed to logic errors in PHP applications that rely on the unset function to remove sensitive data. Unremoved variables could be used in security contexts, leading to unauthorized access or information disclosure.

Recommendation

Update PHP to version 4.4.3 or 5.1.3 (or later) to eliminate the vulnerability. Review application code for reliance on the unset function and consider additional variable sanitization mechanisms.

Related vulnerabilities

Original NVD description (English source)

zend_hash_del_key_or_index in zend_hash.c in PHP before 4.4.3 and 5.x before 5.1.3 can cause zend_hash_del to delete the wrong element, which prevents a variable from being unset even when the PHP unset function is called, which might cause the variable's value to be used in security-relevant operations.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS