Skip to main content

Buffer allocation flaw in OpenSSL

Publication Date 2026-07-03
Severity Moderate
Type Denial of Service
Affected PHP Versions
  • 7.2.0-7.2.34
  • 7.3.0-7.3.33
  • 7.4.0-7.4.33
  • 8.1.0-8.1.34
  • 8.2.0-8.2.31
  • 8.3.0-8.3.31
  • 8.4.0-8.4.22
  • 8.5.0-8.5.7
Fixed Product Versions
  • ZendPHP 7.2
  • ZendPHP 7.3
  • ZendPHP 7.4
  • ZendPHP 8.0
  • ZendPHP 8.1
  • ZendPHP 8.2
  • ZendPHP 8.3
  • ZendPHP 8.4
  • ZendPHP 8.5

CVE Details

In PHP versions prior to 8.2, 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.

Recommendations

If you are using the AES-WRAP-PAD algorithm via the OpenSSL extension, you should update immediately to a patched version.