CVE-2026-14355

ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD

State
Published
Severity
5.6 Medium
Published
Jul 3, 2026
Updated
Jul 6, 2026
Reserved
Jul 1, 2026

Read the record on cve.org

Description

In PHP versions 8.2.* before 8.2.32, 8.3.* before 8.3.32, 8.4.* before 8.4.23, 8.5.* before 8.5.8, the AES-WRAP-PAD algorithm implementation in OpenSSL extension contains a buffer allocation flaw. The output buffer for the AES key-wrap-with-padding operation is sized from the plaintext length without accounting for RFC 5649 expansion. This may cause OpenSSL to write beyond allocated memory, corrupting heap metadata and triggering application abort.

Scores

CVSSScoreVectorSource
3.15.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Lphp

Weaknesses

Affected Products

ProductVersions
phpphp
  • 8.2.0 to before 8.2.32Affected
  • 8.3.0 to before 8.3.32Affected
  • 8.4.0 to before 8.4.23Affected
  • 8.5.0 to before 8.5.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.