Description
The Zip extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) via a ziparchive stream that is not properly handled by the stream_get_contents function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | php5 | 5.3.3-7+squeeze8 | DSA-2408-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- PHP 5.3.x 'Zip' Extension - 'stream_get_contents()' Denial of Service EDB-35484 · dos · Mar 10, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2408-1 php5 - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- MDVSA-2011:053 vendor-advisory
- http://www.php.net/ChangeLog-5.php
- APPLE-SA-2011-10-12-3 vendor-advisory
- MDVSA-2011:052 vendor-advisory
- ADV-2011-0744 vdb-entry
- http://support.apple.com/kb/HT5002
- 46969 vdb-entry
- http://bugs.php.net/bug.php?id=53579