Description
The zend_alter_ini_entry function in PHP before 5.2.4 does not properly handle an interruption to the flow of execution triggered by a memory_limit violation, which has unknown impact and attack 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 5.0 | php5 | 5.2.3-1+lenny1 | DTSA-61-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 2 | php +18 | 5.2.3-3.el5s2 | RHSA-2007:0917 |
Advisories 2
- DTSA-61-1 php5 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2007:0917 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jan 14, 2026
References
- php-zendalterinientry-unspecified(36380) vdb-entry
- 26822 third-party-advisory
- DSA-1444 vendor-advisory
- GLSA-200710-02 vendor-advisory
- http://www.php.net/ChangeLog-5.php#5.2.4
- 2007-0026 vendor-advisory
- https://issues.rpath.com/browse/RPL-1693
- 28249 third-party-advisory
- https://issues.rpath.com/browse/RPL-1702
- 26838 third-party-advisory
- 27377 third-party-advisory
- 27102 third-party-advisory
- ADV-2007-3023 vdb-entry
- http://www.php.net/releases/5_2_4.php
- 26642 third-party-advisory