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

- Severity: Medium 5.4 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.96%, higher than 80% of CVEs (2026-12-01)
- Published: 2020-10-02T14:14:45.340Z
- Modified: 2026-09-08T08:48:24.699Z
- Also known as: BIT-LIBPHP-2020-7069, BIT-PHP-2020-7069, BIT-PHP-MIN-2020-7069
- Weaknesses: CWE-20, CWE-326
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.23; from 7.4.x before 7.4.11; from 7.2.x before 7.2.34
- php php: from 7.2.0 before 7.2.34; from 7.3.0 before 7.3.23; from 7.4.0 before 7.4.11
- fedoraproject fedora: 31; 32; 33
- debian debian_linux: 10.0
- opensuse leap: 15.1; 15.2
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 20.04
- netapp clustered_data_ontap: no versions given
- oracle communications_diameter_signaling_router: from 8.0.0 up to 8.5.0
- tenable tenable.sc: before 5.19.0
- libphp (Bitnami): from 7.2.0 before 7.2.34; from 7.3.0 before 7.3.23; from 7.4.0 before 7.4.11
- php (Bitnami): from 7.2.0 before 7.2.34; from 7.3.0 before 7.3.23; from 7.4.0 before 7.4.11
- php-min (Bitnami): from 7.2.0 before 7.2.34; from 7.3.0 before 7.3.23; from 7.4.0 before 7.4.11

## Every score

- php: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugs.php.net/bug.php?id=79601> (advisory, issue-tracking, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4583-1/> (advisory, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202012-16> (advisory, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4856> (advisory, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20201016-0001/> (advisory, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://www.tenable.com/security/tns-2021-14> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7069> (web)

## Sources

- CVE List: [CVE-2020-7069](https://www.cve.org/CVERecord?id=CVE-2020-7069), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2020-7069](https://nvd.nist.gov/vuln/detail/CVE-2020-7069), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2020-7069](https://osv.dev/vulnerability/BIT-LIBPHP-2020-7069), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2020-7069](https://osv.dev/vulnerability/BIT-PHP-2020-7069), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2020-7069](https://osv.dev/vulnerability/BIT-PHP-MIN-2020-7069), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-7069 · Whole record: https://cve.day/CVE-2020-7069.json · Rebuilt by cve.day 2026-11-25T22:57:55.025Z
