CVE-2020-7069Published Oct 2, 2020 · Oct 2Updated Oct 24
Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
PHP Group PHP
Medium5.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PHP Group PHP |
| No fix yet |
Original 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.
From the CVE record · php