Description
Stack consumption vulnerability in the filter_var function in PHP 5.2.x through 5.2.14 and 5.3.x through 5.3.3, when FILTER_VALIDATE_EMAIL mode is used, allows remote attackers to cause a denial of service (memory consumption and application crash) via a long e-mail address string.
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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | php53 +20 | 5.3.3-1.el5_6.1 | RHSA-2011:0196 |
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 5
- 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
- RHSA-2011:0196 Red Hat Security Advisory: php53 security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- ADV-2011-0077 vdb-entry
- FEDORA-2010-19011 vendor-advisory
- 42812 third-party-advisory
- HPSBOV02763 vendor-advisory
- RHSA-2011:0196 vendor-advisory
- MDVSA-2010:218 vendor-advisory
- http://www.php.net/releases/5_3_4.php
- 43926 vdb-entry
- SUSE-SR:2010:023 vendor-advisory
- APPLE-SA-2011-03-21-1 vendor-advisory
- USN-1042-1 vendor-advisory
- ADV-2011-0021 vdb-entry
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2010.php#id2010-12-10-1
- http://www.php.net/releases/5_2_15.php
- FEDORA-2010-18976 vendor-advisory
- http://bugs.php.net/bug.php?id=52929
- ADV-2011-0020 vdb-entry
- 43189 third-party-advisory
- http://support.apple.com/kb/HT4581