Description
Zend/zend_alloc.c in PHP 7.x before 7.0.10, when open_basedir is enabled, mishandles huge realloc operations, which allows remote attackers to cause a denial of service (integer overflow) or possibly have unspecified other impact via a long pathname.
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | php7.0 | 7.0.8-0ubuntu0.16.04.3 | USN-3095-1 |
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.20 | USN-3095-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | php7 | 7.0.7-15.1 | SUSE-SU-2016:2460-1 |
| SLES 12 | php7 | 7.0.7-15.1 | SUSE-SU-2016:2460-2, SUSE-SU-2016:2460-1 |
Advisories 3
- USN-3095-1 php5, php7.0 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2016:2460-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2460-2 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026