Skip to content
CVE PROGRAM SOURCE RECORD5.4 Medium

CVE-2020-7069

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PHP Group PHP

  • 7.3.x to < 7.3.23affected
  • 7.4.x to < 7.4.11affected
  • 7.2.x to < 7.2.34affected

References