{"vuln_id":"GHSA-7jrw-539f-x6vr","aliases":["CVE-2026-14355"],"description":"ext/openssl: Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD","published_at":"2026-07-02T16:56:26Z","modified_at":"2026-07-02T17:02:14Z","first_seen_at":"2026-11-22T14:05:37.601905Z","severity":"medium","severity_source":"ghsa","cvss_score":4.8,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-7jrw-539f-x6vr"},"matched_alias":null,"items":[{"id":12635,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-7jrw-539f-x6vr / CVE-2026-14355: ext/openssl: Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD","summary":"ext/openssl: Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD\n\n### Summary\r\nUsate of AES-WRAP-PAD can result in memory corruption and abort of application. \r\n\r\n### Details\r\n\r\nThe output buffer for the AES key-wrap-with-padding operation is sized from the plaintext length without accounting for RFC 5649 expansion. Key-wrap-with-pad rounds the plaintext up to the next 8-byte boundary and prepends an 8-byte AIV, so ciphertext length is roundup(len, 8) + 8, not a function of the raw input length. The zend_string PHP allocates is therefore too small for what OpenSSL's EVP_EncryptUpdate/EVP_EncryptFinal writes.\r\n\r\nOpenSSL writes the full wrapped output past the end of the undersized heap allocation, corrupting adjacent Zend MM heap metadata. This surfaces as the zend_mm_heap corrupted abort — the allocator detecting corrupted bookkeeping on a later operation, not at the moment of the overflow.\r\n\r\nFurther details in https://github.com/php/php-src/issues/22186 \r\n\r\n### Impact\r\n\r\nIf the attacker is able to find implementation using this rarely used algorithm, it can potentially abort the application and possibly cause DoS for the application.\nPatched:  8.2.32,  8.3.32,  8.4.23,  8.5.8","url":"https://github.com/php/php-src/security/advisories/GHSA-7jrw-539f-x6vr","published_at":"2026-07-02T16:56:26Z","updated_at":"2026-07-02T17:02:14Z","fetched_at":"2026-11-22T14:05:37.431178Z","severity":"medium","cvss_score":5.3,"epss":0.00279,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php-src","vuln_id":"CVE-2026-14355","vuln_ids":["CVE-2026-14355","GHSA-7JRW-539F-X6VR"],"tags":["repo-advisory","security","repo:php/php-src","stack"],"cluster_id":11744,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12635","html":"https://vulnwatch.ve1ve2.com/item/12635"}}]}