Description
Double free vulnerability in the imap_do_open function in the IMAP extension (ext/imap/php_imap.c) in PHP 5.2 before 5.2.15 and 5.3 before 5.3.4 allows attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via unspecified vectors.
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+squeeze1 | DSA-2195-1 |
| Debian 5.0 | php5 | 5.2.6.dfsg.1-1+lenny10 | DSA-2195-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | php5 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php5 | 5.6.28-1.1 | openSUSE-SU-2024:10344-1 |
| openSUSE Tumbleweed | php7 | 7.0.14-1.4 | openSUSE-SU-2024:10290-1 |
| openSUSE Tumbleweed | php8 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
Advisories 4
- DSA-2195-1 php5 - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10290-1 apache2-mod_php7-7.0.14-1.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10344-1 apache2-mod_php5-5.6.28-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11169-1 php8-8.0.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- FEDORA-2010-19011 vendor-advisory
- HPSBOV02763 vendor-advisory
- http://www.php.net/releases/5_3_4.php
- oval:org.mitre.oval:def:12489 vdb-entry signature
- php-phpimapc-dos(63390) vdb-entry
- APPLE-SA-2011-03-21-1 vendor-advisory
- ADV-2010-3027 vdb-entry
- ADV-2011-0021 vdb-entry
- http://www.php.net/ChangeLog-5.php
- 44980 vdb-entry
- SSA:2010-357-01 vendor-advisory
- MDVSA-2010:239 vendor-advisory
- ADV-2010-3313 vdb-entry
- http://www.php.net/archive/2010.php#id2010-12-10-1
- http://svn.php.net/viewvc?view=revision&revision=305032
- http://www.php.net/releases/5_2_15.php
- https://bugzilla.redhat.com/show_bug.cgi?id=656917
- FEDORA-2010-18976 vendor-advisory
- ADV-2011-0020 vdb-entry
- 42729 third-party-advisory
- 1024761 vdb-entry
- http://support.apple.com/kb/HT4581