CVEfocus › CVE database › CVE-2020-7069

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

CVSS 5.4 MediumEPSS 2.0% (higher than 81% of CVEs)Published 2020-10-02Updated 2024-09-17Assigner: php

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.

CWE-20

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

87Fixed
1Fix pending
2Will not fix
55Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04php7.4Fixed7.4.3-4ubuntu2.4UBUNTU-CVE-2020-7069
Ubuntu 18.04php7.2Fixed7.2.24-0ubuntu0.18.04.7UBUNTU-CVE-2020-7069
Ubuntu 16.04php7.0Not affected
vulnerable_code_not_present
Ubuntu 14.04php5Fix pending5.5.9+dfsg-1ubuntu4.29+esm13 (Ubuntu Pro)UBUNTU-CVE-2020-7069
Red Hat Enterprise Linux 8apcu-panelFixed
Will not fix
0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8libzipFixed
Will not fix
0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8libzip-develFixed
Will not fix
0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8libzip-toolsFixed
Will not fix
0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8phpFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-bcmathFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-cliFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-commonFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-dbaFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-dbgFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-develFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-embeddedFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-enchantFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-ffiFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-fpmFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-gdFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-gmpFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-intlFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-jsonFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-ldapFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-mbstringFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-mysqlndFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-odbcFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-opcacheFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-pdoFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-pearFixed
Will not fix
1:1.10.12-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8php-pecl-apcuFixed
Will not fix
0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8php-pecl-apcu-develFixed
Will not fix
0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8php-pecl-rrdFixed
Will not fix
0:2.0.1-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8php-pecl-xdebugFixed
Will not fix
0:2.9.5-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8php-pecl-xdebug3Will not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-zipFixed
Will not fix
0:1.18.2-1.module+el8.3.0+6678+b09f589eRHSA-2021:4213
Red Hat Enterprise Linux 8php-pgsqlFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-processFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-recodeWill not fix
Will not fix
Red Hat Enterprise Linux 8php-snmpFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-soapFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-xmlFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 8php-xmlrpcFixed
Will not fix
0:7.4.19-1.module+el8.5.0+11143+cc873159RHSA-2021:4213
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 7php-bcmathNot affected
Red Hat Enterprise Linux 7php-cliNot affected
Red Hat Enterprise Linux 7php-commonNot affected
Red Hat Enterprise Linux 7php-dbaNot affected
Red Hat Enterprise Linux 7php-develNot affected
Red Hat Enterprise Linux 7php-embeddedNot affected
Red Hat Enterprise Linux 7php-enchantNot affected
Red Hat Enterprise Linux 7php-fpmNot affected
Red Hat Enterprise Linux 7php-gdNot affected
Red Hat Enterprise Linux 7php-intlNot affected
Red Hat Enterprise Linux 7php-ldapNot affected
Red Hat Enterprise Linux 7php-mbstringNot affected
Red Hat Enterprise Linux 7php-mysqlNot affected
Red Hat Enterprise Linux 7php-mysqlndNot affected
Red Hat Enterprise Linux 7php-odbcNot affected
Red Hat Enterprise Linux 7php-pdoNot affected
Red Hat Enterprise Linux 7php-pgsqlNot affected
Red Hat Enterprise Linux 7php-processNot affected
Red Hat Enterprise Linux 7php-pspellNot affected
Red Hat Enterprise Linux 7php-recodeNot affected
Red Hat Enterprise Linux 7php-snmpNot affected
Red Hat Enterprise Linux 7php-soapNot affected
Red Hat Enterprise Linux 7php-xmlNot affected
Red Hat Enterprise Linux 7php-xmlrpcNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 6php-bcmathNot affected
Red Hat Enterprise Linux 6php-cliNot affected
Red Hat Enterprise Linux 6php-commonNot affected
Red Hat Enterprise Linux 6php-dbaNot affected
Red Hat Enterprise Linux 6php-develNot affected
Red Hat Enterprise Linux 6php-embeddedNot affected
Red Hat Enterprise Linux 6php-enchantNot affected
Red Hat Enterprise Linux 6php-fpmNot affected
Red Hat Enterprise Linux 6php-gdNot affected
Red Hat Enterprise Linux 6php-imapNot affected
Red Hat Enterprise Linux 6php-intlNot affected
Red Hat Enterprise Linux 6php-ldapNot affected
Red Hat Enterprise Linux 6php-mbstringNot affected
Red Hat Enterprise Linux 6php-mysqlNot affected
Red Hat Enterprise Linux 6php-odbcNot affected
Red Hat Enterprise Linux 6php-pdoNot affected
Red Hat Enterprise Linux 6php-pgsqlNot affected
Red Hat Enterprise Linux 6php-processNot affected
Red Hat Enterprise Linux 6php-pspellNot affected
Red Hat Enterprise Linux 6php-recodeNot affected
Red Hat Enterprise Linux 6php-snmpNot affected
Red Hat Enterprise Linux 6php-soapNot affected
Red Hat Enterprise Linux 6php-tidyNot affected
Red Hat Enterprise Linux 6php-xmlNot affected
Red Hat Enterprise Linux 6php-xmlrpcNot affected
Red Hat Enterprise Linux 6php-ztsNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
AlmaLinux 8apcu-panelFixed5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8libzipFixed1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8libzip-develFixed1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8libzip-toolsFixed1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8phpFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-bcmathFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-cliFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-commonFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-dbaFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-dbgFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-develFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-embeddedFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-enchantFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-ffiFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-fpmFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-gdFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-gmpFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-intlFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-jsonFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-ldapFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-mbstringFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-mysqlndFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-odbcFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-opcacheFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-pdoFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-pearFixed1:1.10.12-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8php-pecl-apcuFixed5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8php-pecl-apcu-develFixed5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8php-pecl-rrdFixed2.0.1-1.module_el8.3.0+2009+b272fdefALSA-2021:4213
AlmaLinux 8php-pecl-xdebugFixed2.9.5-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8php-pecl-zipFixed1.18.2-1.module_el8.6.0+2750+78feabcbALSA-2021:4213
AlmaLinux 8php-pgsqlFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-processFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-snmpFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-soapFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-xmlFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
AlmaLinux 8php-xmlrpcFixed7.4.19-3.module_el8.6.0+2976+8b9a0d08ALSA-2021:4213
Rocky Linux 8libzipFixed0:1.6.1-1.module+el8.6.0+789+2130c178RLSA-2021:4213
Rocky Linux 8phpFixed0:7.4.19-1.module+el8.5.0+696+61e7c9baRLSA-2021:4213
Rocky Linux 8php-pearFixed1:1.10.12-1.module+el8.4.0+415+e936cba3RLSA-2021:4213
Rocky Linux 8php-pecl-apcuFixed0:5.1.18-1.module+el8.6.0+789+2130c178RLSA-2021:4213
Rocky Linux 8php-pecl-rrdFixed0:2.0.1-1.module+el8.4.0+414+2e7afcddRLSA-2021:4213
Rocky Linux 8php-pecl-xdebugFixed0:2.9.5-1.module+el8.4.0+415+e936cba3RLSA-2021:4213
Rocky Linux 8php-pecl-zipFixed0:1.18.2-1.module+el8.4.0+415+e936cba3RLSA-2021:4213
Alpine Linux 3.15php7Fixed7.4.11-r0ALPINE-CVE-2020-7069
Alpine Linux 3.14php7Fixed7.4.11-r0ALPINE-CVE-2020-7069
Alpine Linux 3.13php7Fixed7.4.11-r0ALPINE-CVE-2020-7069
Alpine Linux 3.12php7Fixed7.3.23-r0ALPINE-CVE-2020-7069

What the vendor says

As published in the CVE record by php, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.