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

Summary

CVECVE-2026-14355
StatePUBLISHED
Assignerphp
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-03 21:16:55 UTC
Updated2026-07-04 16:17:14 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.6 MEDIUM from [email protected]

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

Problem Types: CWE-122 | CWE-122 CWE-122 Heap-based buffer overflow


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary5.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
3.1CNACVSS5.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Php Php affected 8.2.0 8.2.32 semver Not specified
CNA Php Php affected 8.3.0 8.3.32 semver Not specified
CNA Php Php affected 8.4.0 8.4.23 semver Not specified
CNA Php Php affected 8.5.0 8.5.8 semver Not specified

References

ReferenceSourceLinkTags
github.com/php/php-src/security/advisories/GHSA-7jrw-539f-x6vr [email protected] github.com
lists.debian.org/debian-lts-announce/2026/07/msg00010.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Oleg Baturin (en)

CNA: David CARLIER (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report