CVE-2020-7069

published 2 Oct 2020 · updated 17 Sep 2024

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

5.4MediumCVSS 5.4EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in PHP 7.2.34, PHP 7.3.23 and PHP 7.4.11.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=7.2.x <7.2.34, >=7.3.x <7.3.23, >=7.4.x <7.4.117.2.34, 7.3.23, 7.4.11

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-7069 severity on Zeptric[![CVE-2020-7069](https://zeptric.io/badge/cve/CVE-2020-7069.svg)](https://zeptric.io/cve/CVE-2020-7069)