{"id":"CVE-2026-14355","state":"PUBLISHED","title":"ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD","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.","publishedAt":"2026-07-03T20:57:31.958Z","updatedAt":"2026-07-06T13:57:58.387Z","severity":{"score":5.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"php"},"assigner":"php","products":["php php"],"affected":[{"vendor":"php","product":"php","packageName":"openssl","defaultStatus":"affected","versions":[{"version":"8.2.0","status":"affected","lessThan":"8.2.32","versionType":"semver"},{"version":"8.3.0","status":"affected","lessThan":"8.3.32","versionType":"semver"},{"version":"8.4.0","status":"affected","lessThan":"8.4.23","versionType":"semver"},{"version":"8.5.0","status":"affected","lessThan":"8.5.8","versionType":"semver"}],"collectionURL":"https://www.php.net/","modules":["ext/openssl"]}],"references":["https://github.com/php/php-src/security/advisories/GHSA-7jrw-539f-x6vr","https://lists.debian.org/debian-lts-announce/2026/07/msg00010.html"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/14xxx/CVE-2026-14355.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-14355","state":"PUBLISHED","datePublished":"2026-07-03T20:57:31.958Z","dateUpdated":"2026-07-06T13:57:58.387Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2026-07-01T17:52:41.706Z"},"containers":{"cna":{"title":"ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"php","product":"php","packageName":"openssl","defaultStatus":"affected","versions":[{"version":"8.2.0","status":"affected","lessThan":"8.2.32","versionType":"semver"},{"version":"8.3.0","status":"affected","lessThan":"8.3.32","versionType":"semver"},{"version":"8.4.0","status":"affected","lessThan":"8.4.23","versionType":"semver"},{"version":"8.5.0","status":"affected","lessThan":"8.5.8","versionType":"semver"}],"collectionURL":"https://www.php.net/","modules":["ext/openssl"]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-7jrw-539f-x6vr","name":"GitHub Security Advisory GHSA-7jrw-539f-x6vr","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseSeverity":"MEDIUM","baseScore":5.6,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122 Heap-based buffer overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"php","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateUpdated":"2026-07-03T20:59:02.604Z"},"credits":[{"lang":"en","value":"Oleg Baturin","type":"finder"},{"lang":"en","value":"David CARLIER","type":"remediation developer"}],"source":{"advisory":"GHSA-7jrw-539f-x6vr","discovery":"EXTERNAL","defenseOmission":false},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2026/07/msg00010.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-04T15:25:16.999Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-06T13:57:51.767008Z","id":"CVE-2026-14355","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-06T13:57:58.387Z"}}]}}}