CVE-2026-14355 PUBLISHED

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

Assigner: php
Reserved: 01.07.2026 Published: 03.07.2026 Updated: 04.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS Score: 5.6

Product Status

Vendor php
Product php
Versions Default: affected
  • affected from 8.2.0 to 8.2.32 (excl.)
  • affected from 8.3.0 to 8.3.32 (excl.)
  • affected from 8.4.0 to 8.4.23 (excl.)
  • affected from 8.5.0 to 8.5.8 (excl.)

Credits

  • Oleg Baturin finder
  • David CARLIER remediation developer

References

Problem Types

  • CWE-122 Heap-based buffer overflow CWE