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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.6 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | php |
Weaknesses
- CWE-122 Heap-based buffer overflow
Affected Products
| Product | Versions |
|---|---|
phpphp |
|
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.