Description
Integer overflow in memory allocation routines in PHP before 5.1.6, when running on a 64-bit system, allows context-dependent attackers to bypass the memory_limit restriction.
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 4.0 | php4 | 6:4.4.4-8+etch4 | DSA-1331-1 |
| Debian 3.1 | php4 | 4:4.3.10-22 | DSA-1331-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | php +13 | 4.3.9-3.18 | RHSA-2006:0669 |
| RHEL 3 | php +6 | 4.3.2-36.ent | RHSA-2006:0669 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 1 | php +16 | 5.1.4-1.el4s1.4 | RHSA-2006:0688 |
Advisories 3
- RHSA-2006:0669 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2006:0688 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-1331-1 php4 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- 1016984 vdb-entry
- https://issues.rpath.com/browse/RPL-683
- RHSA-2006:0669 vendor-advisory
- oval:org.mitre.oval:def:11086 vdb-entry signature
- 22487 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-221.htm
- TLSA-2006-38 vendor-advisory
- RHSA-2006:0688 vendor-advisory
- http://www.hardened-php.net/hphp/changelog.html#hardening_patch_0.4.14
- USN-362-1 vendor-advisory
- 19582 vdb-entry
- http://www.php.net/ChangeLog-5.php#5.1.6
- 22004 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-222.htm
- 22538 third-party-advisory
- RHSA-2006:0682 vendor-advisory
- 21546 third-party-advisory
- 22440 third-party-advisory
- 20061005 rPSA-2006-0182-1 php php-mysql php-pgsql mailing-list
- DSA-1331 vendor-advisory
- 22069 third-party-advisory
- 22225 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
- 25945 third-party-advisory
- 22331 third-party-advisory
- http://www.php.net/release_5_1_6.php
- SUSE-SA:2006:052 vendor-advisory