Skip to content
Fencer Intel
high 7.5

CVE-2020-7067 json

OOB Read in urldecode()

published 6y ago modified 2mo ago also BIT-libphp-2020-7067 , BIT-php-2020-7067 , BIT-php-min-2020-7067 , EUVD-2020-28201

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.4%
EPSS 4.4% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami libphp 7.2.30, 7.3.17, 7.4.5
  • bitnami php 7.2.30, 7.3.17, 7.4.5
  • bitnami php-min 7.2.30, 7.3.17, 7.4.5
  • php php 7.2.30, 7.3.17, 7.4.5
  • tenable tenable.sc 5.19.0
  • php7.4 Debian 11 7.4.5-1

debian advisories DEBIAN-CVE-2020-7067

  • php7 Alpine 3.15, Alpine 3.14, Alpine 3.13 +2 more 7.3.17-r0

alpine advisories ALPINE-CVE-2020-7067

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-7067 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-7067 updated cvss 5.9

php: out-of-bounds read when using a malformed url-encoded string

  • Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Software Collections rh-php72-php, rh-php73-php, rh-php72-php-gd, rh-php73-php-gd, rh-php72-php-cli, rh-php72-php-dba, +50 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.43% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugs.php.net https://bugs.php.net/bug.php?id=79465 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami libphp
>=7.2.0, <7.2.30
>=7.3.0, <7.3.17
>=7.4.0, <7.4.5
7.2.30
7.3.17
7.4.5
bitnami php
>=7.2.0, <7.2.30
>=7.3.0, <7.3.17
>=7.4.0, <7.4.5
7.2.30
7.3.17
7.4.5
bitnami php-min
>=7.2.0, <7.2.30
>=7.3.0, <7.3.17
>=7.4.0, <7.4.5
7.2.30
7.3.17
7.4.5

Affected products

  • PHP Group PHP

Classification

Weakness
  • CWE-125 Out-of-bounds Read
  • CWE-196 Unsigned to Signed Conversion Error
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.