From f3bccf3a7283546ca41d65bfebfb03db20851bd6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Jul 2026 16:03:33 +0200 Subject: Fix Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD --- php.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'php.spec') diff --git a/php.spec b/php.spec index f621934..6182c4a 100644 --- a/php.spec +++ b/php.spec @@ -74,7 +74,7 @@ %global with_enchant 1 # Build firebird extensions, you can disable using --without firebird -%if 0%{?rhel} == 10 +%if 0%{?rhel} > 10 %bcond_with firebird %else %bcond_without firebird @@ -118,7 +118,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}} -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 @@ -226,6 +226,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 @@ -1052,6 +1053,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 %patch -P300 -p1 -b .datetests @@ -1106,6 +1108,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 # Safety check for API version change. pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h) @@ -1951,6 +1959,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