Skip to content
OpenAdvisories
High · 7.5 CVE-2020-7067 EUVD-2020-28201GHSA-8hqm-3r2c-qg9c

OOB Read in urldecode()

Published Apr 27, 2020 · Updated Sep 17, 2024 · Assigned by php

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

References