From c15e9520f23044a6a82c0ea1c089a1dd5d0e7f10 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Jul 2026 16:03:21 +0200 Subject: Fix Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD --- php74.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'php74.spec') diff --git a/php74.spec b/php74.spec index c9c79b8..3df9466 100644 --- a/php74.spec +++ b/php74.spec @@ -52,7 +52,7 @@ %endif # Build firebird extensions, you can disable using --without firebird -%if 0%{?rhel} == 10 +%if 0%{?rhel} > 10 %bcond_with firebird %else %bcond_without firebird @@ -109,7 +109,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 26%{?dist} +Release: 27%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -216,6 +216,7 @@ Patch233: php-cve-2026-7262.patch Patch234: php-cve-2026-6735.patch Patch235: php-cve-2026-7568.patch Patch236: php-cve-2026-7258.patch +Patch237: php-gh22187.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -1262,6 +1263,7 @@ rm ext/openssl/tests/p12_with_extra_certs.p12 %patch -P234 -p1 -b .cve6735 %patch -P235 -p1 -b .cve7268 %patch -P236 -p1 -b .cve7258 +%patch -P237 -p1 -b .gh22187 # Fixes for tests related to tzdata %patch -P300 -p1 -b .datetests @@ -1316,6 +1318,12 @@ rm ext/openssl/tests/openssl_open_basic.phpt %endif rm ext/openssl/tests/openssl_private_decrypt_basic.phpt rm ext/openssl/tests/openssl_x509_parse_basic.phpt +rm ext/openssl/tests/bug74341.phpt +rm ext/openssl/tests/sni_server.phpt +rm ext/openssl/tests/sni_server_key_cert.phpt +rm ext/pcre/tests/pcre_extra.phpt +rm ext/pcre/tests/split.phpt +rm ext/pcre/tests/grep2.phpt # avoid issue when 2 builds run simultaneously (keep 64321 for the SCL) %ifarch x86_64 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt @@ -2289,6 +2297,9 @@ EOF %changelog +* Wed Jul 1 2026 Remi Collet - 7.4.33-27 +- Fix Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD + * Tue May 12 2026 Remi Collet - 7.4.33-26 - Fix XSS within status endpoint CVE-2026-6735 -- cgit