Description
Buffer overflow in the strval function in PHP before 5.3.6, when the precision configuration option has a large value, might allow context-dependent attackers to cause a denial of service (application crash) via a small numerical value in the argument.
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+squeeze8 | DSA-2408-1 |
Advisories 1
- DSA-2408-1 php5 - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- HPSBOV02763 vendor-advisory
- MDVSA-2011:053 vendor-advisory
- http://www.php.net/releases/5_3_6.php
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2011.php
- http://bugs.php.net/bug.php?id=54055
- MDVSA-2011:052 vendor-advisory
- ADV-2011-0744 vdb-entry