CVE-2020-7069

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

MEDIUM
6.5
CVSS Score
Published: October 2, 2020 at 02:14 PM UTC
Updated: June 17, 2026 at 03:24 AM UTC
8 products affected across 8 vendorsDebian LinuxFedoraUbuntu Linux

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
7.2.0 ≤ v < 7.2.347.2.x ≤ v < 7.2.347.3.0 ≤ v < 7.3.237.3.x ≤ v < 7.3.237.4.0 ≤ v < 7.4.117.4.x ≤ v < 7.4.117.2.x7.3.x7.4.x
Affected range stops below 7.2.34, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.23, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.11, so it looks safe — our inference, not a vendor statement
v < 5.19.0
Affected range stops below 5.19.0, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20CWE-326

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card