CVE-2020-7067: OOB Read in urldecode()

Published Apr 14, 2020
·
Updated

Fixed bug (OOB Read in urldecode()). (CVE-2020-7067)

Other sources

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 Software

18 affected componentsFixes available
PHP PHP<7.3.17
7.3.17
PHP PHP>=7.2.0<7.2.30
PHP PHP>=7.3.0<7.3.17
PHP PHP>=7.4.0<7.4.5
Tenable Tenable.Sc<5.19.0
Oracle Communications Diameter Signaling Router>=8.0.0.0<=8.4.0.5
Debian Debian Linux=9.0
Debian Debian Linux=10.0
alpine/php7<7.3.17-r0
7.3.17-r0
alpine/php7<7.3.17-r0
7.3.17-r0
alpine/php7<7.3.17-r0
7.3.17-r0
alpine/php7<7.3.17-r0
7.3.17-r0
alpine/php7<7.3.17-r0
7.3.17-r0
debian/php7.4<7.4.5-1
7.4.5-1
debian/php5
5.6.40+dfsg-0+deb8u11
debian/php7.0
7.0.33-0+deb9u8
debian/php7.3
7.3.19-1~deb10u1
debian/php7.4
7.4.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.3.17
  2. Upgrade

    Upgrade alpine/php7 to a version that resolves this vulnerability.

    Fixed in 7.3.17-r0
  3. Upgrade

    Upgrade debian/php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.5-1
  4. Upgrade

    Upgrade debian/php5 to a version that resolves this vulnerability.

    Fixed in 5.6.40+dfsg-0+deb8u11
  5. Upgrade

    Upgrade debian/php7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.33-0+deb9u8
  6. Upgrade

    Upgrade debian/php7.3 to a version that resolves this vulnerability.

    Fixed in 7.3.19-1~deb10u1
  7. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.30
  8. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.4.5

Event History

Apr 14, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Apr 16, 2020
Data Sourced
12:00 AM
DescriptionAffected Software
Updated
12:00 AM
Affected Software
Apr 27, 2020
CVE Published
via MITRE·08:38 PM
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
May 16, 2022
Data Sourced
07:57 PM
RemedySeverityWeakness
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2020-7067?

CVE-2020-7067 is a vulnerability 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 that allows the urldecode() function to access memory locations beyond the allocated memory.

2

How can the CVE-2020-7067 vulnerability be exploited?

The CVE-2020-7067 vulnerability can be exploited by making the urldecode() function access locations beyond the allocated memory, if PHP is compiled with EBCDIC support and incorrectly uses signed numbers as array indexes.

3

What is the severity of CVE-2020-7067?

CVE-2020-7067 has a severity rating of 7.5 (high).

4

Which versions of PHP are affected by CVE-2020-7067?

PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17, and 7.4.x below 7.4.5 are affected by CVE-2020-7067.

5

How can I fix the CVE-2020-7067 vulnerability?

To fix the CVE-2020-7067 vulnerability, update PHP to version 7.2.30, 7.3.17, or 7.4.5 depending on the currently installed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203