Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openssl-3 for openSUSE:Factory checked in at 2026-11-28 23:24:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openssl-3 (Old) and /work/SRC/openSUSE:Factory/.openssl-3.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openssl-3" Sat Nov 28 23:24:04 2026 rev:56 rq:1400985 version:3.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/openssl-3/openssl-3.changes 2026-11-20 14:43:15.038578178 +0100 +++ /work/SRC/openSUSE:Factory/.openssl-3.new.1340718/openssl-3.changes 2026-11-28 23:24:06.477689713 +0100 @@ -1,0 +2,22 @@ +Thu Nov 26 21:17:04 UTC 2026 - Peter Simons <[email protected]> + +- Only hard-wire the JITTER seed source in FIPS mode. Since the update + to 3.5.0, libcrypto used jitterentropy to seed the DRBG of every + process, which added tens of milliseconds of CPU time to each + short-lived process such as sshd. Outside of FIPS mode, the [random] + seed setting is honored again and defaults to SEED-SRC (getrandom). + The FIPS provider and FIPS mode keep using JITTER. [bsc#1284384] + * Add openssl-3-jitter-seed-honor-config-in-non-FIPS-mode.patch + * Remove the "[random] seed=JITTER" stanza from the default + openssl.cnf in openssl-shared-jitterentropy.patch + * Rebase openssl-TESTS-Disable-default-provider-crypto-policies.patch + +------------------------------------------------------------------- +Thu Nov 19 09:41:59 UTC 2026 - Angel Yankov <[email protected]> + +- CVE-2026-124709: QUIC: garbage collect deleted streams whose receive part is terminal (bsc#1290676) +- CVE-2026-35190: Fix out-of-bounds read of suiteb_curves[] in TLS 1.3 key_share selection (bsc#1290677) + * Add openssl-CVE-2026-124709.patch + * Add openssl-CVE-2026-35190.patch + +------------------------------------------------------------------- New: ---- openssl-3-jitter-seed-honor-config-in-non-FIPS-mode.patch openssl-CVE-2026-124709.patch openssl-CVE-2026-35190.patch ----------(New B)---------- New: The FIPS provider and FIPS mode keep using JITTER. [bsc#1284384] * Add openssl-3-jitter-seed-honor-config-in-non-FIPS-mode.patch * Remove the "[random] seed=JITTER" stanza from the default New:- CVE-2026-35190: Fix out-of-bounds read of suiteb_curves[] in TLS 1.3 key_share selection (bsc#1290677) * Add openssl-CVE-2026-124709.patch * Add openssl-CVE-2026-35190.patch New: * Add openssl-CVE-2026-124709.patch * Add openssl-CVE-2026-35190.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openssl-3.spec ++++++ --- /var/tmp/diff_new_pack.viM9HA/_old 2026-11-28 23:24:08.724783655 +0100 +++ /var/tmp/diff_new_pack.viM9HA/_new 2026-11-28 23:24:08.726783739 +0100 @@ -258,6 +258,12 @@ Patch115: openssl-CVE-2026-84782.patch # PATCH-FIX-UPSTREAM: CVE-2026-84784: QUIC: Unbounded RETIRE_CONNECTION_ID Backlog (bsc#1280599) Patch116: openssl-CVE-2026-84784.patch +# PATCH-FIX-UPSTREAM: CVE-2026-35190: Fix out-of-bounds read of suiteb_curves[] in TLS 1.3 key_share selection +Patch117: openssl-CVE-2026-35190.patch +# PATCH-FIX-UPSTREAM: CVE-2026-124709 QUIC: garbage collect deleted streams whose receive part is terminal (bsc#1290676) +Patch118: openssl-CVE-2026-124709.patch +# PATCH-FIX-SUSE bsc#1284384: Honor the [random] seed setting outside of FIPS mode +Patch119: openssl-3-jitter-seed-honor-config-in-non-FIPS-mode.patch # ulp-macros is available according to SUSE version. %if 0%{?sle_version} >= 150400 || 0%{?suse_version} >= 1540 ++++++ openssl-3-jitter-seed-honor-config-in-non-FIPS-mode.patch ++++++ From: Peter Simons <[email protected]> Subject: rand: only hard-wire the JITTER seed source in FIPS mode With enable-fips-jitter, rand_new_seed() hard-wires the JITTER seed source not only inside the FIPS provider but also in libcrypto, ignoring the [random] seed configuration. As a result, every process that instantiates a DRBG runs the jitterentropy power-up health tests, which adds tens of milliseconds of CPU time to each short-lived process (sshd, openssl, TLS clients). Keep JITTER hard-wired inside the FIPS provider and in libcrypto when FIPS mode is enabled. Otherwise honor the [random] seed setting and default to SEED-SRC, as in builds without enable-fips-jitter. References: bsc#1284384 Index: openssl-3.5.0/crypto/rand/rand_lib.c =================================================================== --- openssl-3.5.0.orig/crypto/rand/rand_lib.c +++ openssl-3.5.0/crypto/rand/rand_lib.c @@ -14,6 +14,7 @@ #include <openssl/opensslconf.h> #include <openssl/core_names.h> #include <openssl/provider.h> +#include <openssl/evp.h> #include "internal/cryptlib.h" #include "internal/provider.h" #include "internal/thread_once.h" @@ -607,18 +608,33 @@ static EVP_RAND_CTX *rand_new_seed(OSSL_LIB_CTX *libctx) const char *propq; char *name; EVP_RAND_CTX *ctx = NULL; -# ifdef OPENSSL_NO_FIPS_JITTER +# ifndef FIPS_MODULE RAND_GLOBAL *dgbl = rand_get_global(libctx); if (dgbl == NULL) return NULL; - propq = dgbl->seed_propq; - name = dgbl->seed_name != NULL ? dgbl->seed_name - : OPENSSL_MSTR(OPENSSL_DEFAULT_SEED_SRC); -# else /* !OPENSSL_NO_FIPS_JITTER */ +# ifndef OPENSSL_NO_FIPS_JITTER + /* + * In FIPS mode, the JITTER seed source of the FIPS provider is the only + * approved entropy source, so it is hard-wired regardless of the + * configuration. Outside of FIPS mode, honor the [random] seed setting + * and default to SEED-SRC: running the jitterentropy health tests in + * every short-lived process is very expensive (bsc#1284384). + */ + if (EVP_default_properties_is_fips_enabled(libctx)) { + name = "JITTER"; + propq = ""; + } else +# endif /* !OPENSSL_NO_FIPS_JITTER */ + { + propq = dgbl->seed_propq; + name = dgbl->seed_name != NULL ? dgbl->seed_name + : OPENSSL_MSTR(OPENSSL_DEFAULT_SEED_SRC); + } +# else /* FIPS_MODULE && !OPENSSL_NO_FIPS_JITTER */ name = "JITTER"; propq = ""; -# endif /* OPENSSL_NO_FIPS_JITTER */ +# endif /* !FIPS_MODULE */ rand = EVP_RAND_fetch(libctx, name, propq); if (rand == NULL) { ++++++ openssl-CVE-2026-124709.patch ++++++ >From b4ed1a8163d11f997b5ec9dce7639da3979d31a2 Mon Sep 17 00:00:00 2001 From: 007bsd <[email protected]> Date: Fri, 13 Nov 2026 13:15:40 +0200 Subject: [PATCH] QUIC: garbage collect deleted streams whose receive part is terminal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A deleted stream with a receive part was only garbage collected once its STOP_SENDING frame had been acknowledged: qsm_ready_for_gc() had recv_stream_fully_drained hard-coded to 0. STOP_SENDING is not sent for a receive part that is already in a terminal state (all data received, or RESET_STREAM received), so such a stream stayed in the stream map for the life of the connection. A stream rejected by the incoming stream policy returns its stream credit when it is rejected. A peer can open a stream with a RESET_STREAM frame: the stream is created, rejected and reset by the same frame, which cancels STOP_SENDING. The stream is never collected while its credit has been returned, so the peer can repeat this without limit and grow the server's memory. Treat the terminal receive states (DATA_RECVD, DATA_READ, RESET_RECVD and RESET_READ) as fully drained. Frames arriving later for a collected peer-initiated stream are ignored by depack_do_implicit_stream_create(), as for streams collected after STOP_SENDING was acknowledged. Extend test_reject_stream_gc into test_stream_gc, which also covers a peer that resets each new stream without writing to it, and streams that are accepted, read to the end and freed. Fixes: CVE-2026-124709 Fixes: 4f5b40c8fb1 "quic: collect rejected incoming streams and return their stream credit" Assisted-by: Claude:claude-opus-5-5 Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Saša Nedvědický <[email protected]> Merge-date: Mon Nov 16 13:10:34 2026 Merged-from: https://github.com/openssl/openssl/pull/33718 --- ssl/quic/quic_stream_map.c | 23 +++++++++- test/quicapitest.c | 87 +++++++++++++++++++++++++++++++------- 2 files changed, 93 insertions(+), 17 deletions(-) Index: openssl-3.5.0/ssl/quic/quic_stream_map.c =================================================================== --- openssl-3.5.0.orig/ssl/quic/quic_stream_map.c +++ openssl-3.5.0/ssl/quic/quic_stream_map.c @@ -289,9 +289,30 @@ static ossl_unused int qsm_send_part_per } } +static int qsm_recv_part_is_terminal(const QUIC_STREAM *qs) +{ + switch (qs->recv_state) { + case QUIC_RSTREAM_STATE_DATA_RECVD: + case QUIC_RSTREAM_STATE_DATA_READ: + case QUIC_RSTREAM_STATE_RESET_RECVD: + case QUIC_RSTREAM_STATE_RESET_READ: + return 1; + default: + return 0; + } +} + static int qsm_ready_for_gc(QUIC_STREAM_MAP *qsm, QUIC_STREAM *qs) { - int recv_stream_fully_drained = 0; /* TODO(QUIC FUTURE): Optimisation */ + /* + * Once the receive part has reached a terminal state (all data received + * or the peer reset the stream) there is nothing more the peer can send + * which we need to track, so we do not need to wait for STOP_SENDING to + * be acknowledged. Note that STOP_SENDING may never be sent at all in + * this case (e.g. if the peer's RESET_STREAM arrives first), so waiting + * for it would leak the stream for the lifetime of the connection. + */ + int recv_stream_fully_drained = qsm_recv_part_is_terminal(qs); /* * If sstream has no FIN, we auto-reset it at marked-for-deletion time, so ++++++ openssl-CVE-2026-35190.patch ++++++ >From 4e9c47a0c103cb87262525798b3c6a9965d786b2 Mon Sep 17 00:00:00 2001 From: Daniel Kubec <[email protected]> Date: Tue, 10 Nov 2026 14:28:58 +0100 Subject: [PATCH] Fix out-of-bounds read of suiteb_curves[] in TLS 1.3 key_share selection In Suite B mode tls1_get_supported_groups() replaces the configured supported-groups list with the fixed two-element suiteb_curves[] array, but tls1_get_group_tuples() kept returning the tuples derived from the configured group list. The two functions therefore disagreed: the group-selection walk in tls_parse_ctos_key_share() advanced first_group_in_tuple through the short suiteb_curves[] array using tuple sizes that summed to the much longer configured list, so check_overlap()/check_in_list() read past the end of suiteb_curves[]. Fixes: CVE-2026-35190 Assisted-by: Claude:claude-fable-5-2 Reviewed-by: Mounir Idrassi <[email protected]> Reviewed-by: Andrew Dinh <[email protected]> Merge-date: Mon Nov 16 12:24:33 2026 Merged-from: https://github.com/openssl/openssl/pull/33617 --- ssl/statem/extensions_srvr.c | 14 ++++++++++++++ ssl/t1_lib.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) Index: openssl-3.5.0/ssl/statem/extensions_srvr.c =================================================================== --- openssl-3.5.0.orig/ssl/statem/extensions_srvr.c +++ openssl-3.5.0/ssl/statem/extensions_srvr.c @@ -833,6 +833,7 @@ int tls_parse_ctos_key_share(SSL_CONNECT const size_t *srvrtuples; uint16_t *first_group_in_tuple; size_t clnt_num_groups, srvr_num_groups, srvr_num_tuples; + size_t srvr_groups_remaining; PACKET *encoded_pubkey_arr = NULL; uint16_t *keyshares_arr = NULL; size_t keyshares_cnt = 0; @@ -916,10 +917,23 @@ int tls_parse_ctos_key_share(SSL_CONNECT * Remark: Selection priority different for client- or server-preference */ first_group_in_tuple = (uint16_t *)srvrgroups; + srvr_groups_remaining = srvr_num_groups; for (current_tuple = 0; current_tuple < srvr_num_tuples; current_tuple++) { size_t number_of_groups_in_tuple = srvrtuples[current_tuple]; int prio_group_idx = 0, candidate_group_idx = 0; + /* + * The tuple sizes must partition srvrgroups exactly. A tuple larger + * than the groups still left means the group and tuple lists have + * come from different sources, which is an internal error: stop here + * rather than reading past the end of srvrgroups. + */ + if (number_of_groups_in_tuple > srvr_groups_remaining) { + SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR); + goto err; + } + srvr_groups_remaining -= number_of_groups_in_tuple; + /* Server or client preference ? */ if (s->options & SSL_OP_CIPHER_SERVER_PREFERENCE) { /* Server preference */ Index: openssl-3.5.0/ssl/t1_lib.c =================================================================== --- openssl-3.5.0.orig/ssl/t1_lib.c +++ openssl-3.5.0/ssl/t1_lib.c @@ -211,6 +211,14 @@ static const uint16_t suiteb_curves[] = OSSL_TLS_GROUP_ID_secp384r1, }; +/* + * Group tuples matching the Suite B group lists returned by + * tls1_get_supported_groups(): a single tuple holding both P-256 and P-384, + * or a single tuple holding just one of them. + */ +static const size_t suiteb_tuples_both[] = { OSSL_NELEM(suiteb_curves) }; +static const size_t suiteb_tuples_one[] = { 1 }; + /* Group list string of the built-in pseudo group DEFAULT_SUITE_B */ #define SUITE_B_GROUP_NAME "DEFAULT_SUITE_B" #define SUITE_B_GROUP_LIST "?secp256r1:?secp384r1", @@ -846,6 +854,23 @@ void tls1_get_group_tuples(SSL_CONNECTIO { SSL_CTX *sctx = SSL_CONNECTION_GET_CTX(s); + if (tls1_suiteb(s)) { + const uint16_t *groups; + size_t groupslen; + + /* + * In Suite B mode the fixed group list forms a single tuple. Derive + * its size from the list tls1_get_supported_groups() actually returns + * rather than repeating the Suite B profile selection here. + */ + tls1_get_supported_groups(s, &groups, &groupslen); + *ptuples = groupslen == OSSL_NELEM(suiteb_curves) ? suiteb_tuples_both + : suiteb_tuples_one; + *ptupleslen = 1; + return; + } + + if (s->ext.supportedgroups == NULL) { *ptuples = sctx->ext.tuples; *ptupleslen = sctx->ext.tuples_len; ++++++ openssl-TESTS-Disable-default-provider-crypto-policies.patch ++++++ --- /var/tmp/diff_new_pack.viM9HA/_old 2026-11-28 23:24:09.588819777 +0100 +++ /var/tmp/diff_new_pack.viM9HA/_new 2026-11-28 23:24:09.592819945 +0100 @@ -2,25 +2,18 @@ =================================================================== --- openssl-3.5.0.orig/apps/openssl.cnf +++ openssl-3.5.0/apps/openssl.cnf -@@ -45,12 +45,12 @@ tsa_policy3 = 1.2.3.4.5.7 +@@ -45,8 +45,8 @@ [openssl_init] providers = provider_sect # Load default TLS policy configuration -ssl_conf = ssl_module -alg_section = evp_properties --random = random +##ssl_conf = ssl_module +##alg_section = evp_properties -+##random = random - --[random] --seed=JITTER -+##[random] -+##seed=JITTER [ evp_properties ] # This section is intentionally added empty here to be tuned on particular systems -@@ -65,20 +65,20 @@ seed=JITTER +@@ -61,20 +61,20 @@ # to side-channel attacks and as such have been deprecated. [provider_sect] ++++++ openssl-shared-jitterentropy.patch ++++++ --- /var/tmp/diff_new_pack.viM9HA/_old 2026-11-28 23:24:09.643822077 +0100 +++ /var/tmp/diff_new_pack.viM9HA/_new 2026-11-28 23:24:09.646822202 +0100 @@ -11,19 +11,4 @@ push(@libs, "-lz") if !defined($disabled{zlib}) && defined($disabled{"zlib-dynamic"}); if (!defined($disabled{brotli}) && defined($disabled{"brotli-dynamic"})) { push(@libs, "-lbrotlienc"); -Index: openssl-3.5.0-beta1/apps/openssl.cnf -=================================================================== ---- openssl-3.5.0-beta1.orig/apps/openssl.cnf -+++ openssl-3.5.0-beta1/apps/openssl.cnf -@@ -47,6 +47,10 @@ providers = provider_sect - # Load default TLS policy configuration - ssl_conf = ssl_module - alg_section = evp_properties -+random = random -+ -+[random] -+seed=JITTER - - [ evp_properties ] - # This section is intentionally added empty here to be tuned on particular systems
