VDB

CVE-2020-7069

CVE-2020-7069 PUBLISHED CVSS 5.4 MEDIUM

Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV

Reported by php · Published October 2, 2020

In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php-minBitnami7.4.11, 7.3.23, 7.2.34
libphpBitnami7.4.11, 7.3.23, 7.2.34
php7Alpine7.4.11-r0, 7.3.23-r0
php5Ubuntu:Pro:14.04:LTS5.5.9+dfsg-1ubuntu4.29+esm13
communications_diameter_signaling_routeroracle8.5.0
libphpBitnami7.4.11, 7.3.23, 7.2.34
tenable.sctenable5.19.0
phpphp7.4.11, 7.3.23, 7.2.34
PHPPHP Group7.4.11, 7.3.23, 7.2.34
phpBitnami7.4.11, 7.3.23, 7.2.34
php-minBitnami7.4.11, 7.3.23, 7.2.34
php7.4Ubuntu:20.04:LTS7.4.3-4ubuntu2.4

Risk scores

CVSS 3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
PHP GroupPHP7.3.x, 7.4.x, 7.2.x
PHP GroupPHP7.3.x, 7.4.x, 7.2.x
alpinephp70, 0

Timeline

  • May 11, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 28, 2021 PoC Published (5 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (14 in total, the first dated here)
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7069
vulnetix vdb fixes CVE-2020-7069

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7069/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›