Back

MEDIUM

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

Published Oct 2, 2020

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 products

Remediation

No remediation recorded yet.

References (18)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner php
Published Oct 2, 2020
Updated Sep 17, 2024
Reserved Jan 15, 2020

CISA Vulnrichment

No data

NVD

Status Modified
Modified Jun 17, 2026

Red Hat

Severity Moderate
Public date May 15, 2020
Bugzilla 1885735

ENISA EUVD

Assigner php
Published Oct 2, 2020
Updated Sep 17, 2024

GitHub

No data