Description
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PHP Group | PHP | 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5 | — |
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 11 | php7.4 | 7.4.5-1 | — |
| Debian 10 | php7.3 | 7.3.19-1~deb10u1 | DSA-4719-1 |
| Debian 9 | php7.0 | 7.0.33-0+deb9u8 | DSA-4717-1 |
| Debian 8 | php5 | 5.6.40+dfsg-0+deb8u11 | DLA-2188-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.15 | php7 | 7.3.17-r0 | — |
| Alpine v3.14 | php7 | 7.3.17-r0 | — |
| Alpine v3.13 | php7 | 7.3.17-r0 | — |
| Alpine v3.12 | php7 | 7.3.17-r0 | — |
| Alpine v3.11 | php7 | 7.3.17-r0 | — |
Advisories 3
- DSA-4719-1 php7.3 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4717-1 php7.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2188-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026