Application crash via undersized AES-WRAP-PAD output buffer
Published Jul 3, 2026 · Updated Jul 3, 2026
Heap-based buffer overflow in PHP's OpenSSL extension allows attackers to crash applications through AES-WRAP-PAD encryption. The openssl_encrypt path allocates a zend_string from the raw plaintext length even though RFC 5649 wrapping rounds to eight bytes and prepends an eight-byte AIV, so OpenSSL overwrites adjacent heap metadata. Exploitation requires application code to encrypt attacker-controlled plaintext with an AES-WRAP-PAD cipher; the allocator later aborts the affected PHP process.
Summary
What happened
Heap-based buffer overflow in PHP's OpenSSL extension allows attackers to crash applications through AES-WRAP-PAD encryption. The openssl_encrypt path allocates a zend_string from the raw plaintext length even though RFC 5649 wrapping rounds to eight bytes and prepends an eight-byte AIV, so OpenSSL overwrites adjacent heap metadata. Exploitation requires application code to encrypt attacker-controlled plaintext with an AES-WRAP-PAD cipher; the allocator later aborts the affected PHP process.
The record
- CVE
- CVE-2026-14355
- Published
- Jul 3, 2026
- Updated
- Jul 3, 2026
- Vendor
- The PHP Group
- Product
- PHP
- Classifications
- CWE-122, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 3, 2026CVE publishedPublication date reported by the CVE source.
- Jul 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.2.0 <8.2.32
- Affected versionversion=8.3.0 <8.3.32
- Affected versionversion=8.4.0 <8.4.23
- Affected versionversion=8.5.0 <8.5.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo