CVE-2026-14355

NameCVE-2026-14355
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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4669-1, DSA-6377-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php7.4 (PTS)bullseye7.4.33-1+deb11u5vulnerable
bullseye (security)7.4.33-1+deb11u11vulnerable
php8.2 (PTS)bookworm, bookworm (security)8.2.32-1~deb12u1fixed
php8.4 (PTS)trixie (security), trixie8.4.23-1~deb13u1fixed
forky, sid8.4.23-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php7.4source(unstable)(unfixed)
php8.2sourcebookworm8.2.32-1~deb12u1DLA-4669-1
php8.2source(unstable)(unfixed)
php8.4sourcetrixie8.4.23-1~deb13u1DSA-6377-1
php8.4source(unstable)8.4.23-1

Notes

[bullseye] - php7.4 <ignored> (AES wrap-pad path unreachable under OpenSSL 1.1.1)
https://github.com/php/php-src/security/advisories/GHSA-7jrw-539f-x6vr
https://github.com/php/php-src/issues/22186
https://github.com/php/php-src/commit/169226847426368c62992af43c2c39b0fdbff4d5 (php-8.4.23RC1)
php7.4/bullseye links OpenSSL 1.1.1w, which rejects AES *-wrap ciphers at
EVP_CipherInit (EVP_R_WRAP_MODE_NOT_ALLOWED) unless EVP_CIPHER_CTX_FLAG_WRAP_ALLOW
is set; php never sets it, so the undersized buffer in php_openssl_cipher_update()
is not reachable. Reachable only with OpenSSL 3.x.

Search for package or bug name: Reporting problems