CVE-2020-7069

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

State
Published
Severity
5.4 Medium
Published
Oct 2, 2020
Updated
Sep 17, 2024
Reserved
Jan 15, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:Nphp

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
PHPPHP Group
  • 7.3.x to before 7.3.23Affected
  • 7.4.x to before 7.4.11Affected
  • 7.2.x to before 7.2.34Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.