Debian Patches

Status for openssl/3.0.22-1~deb12u2

Patch Description Author Forwarded Bugs Origin Last update
debian-targets.patch debian-targets Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org> no 2017-11-05
man-section.patch man-section Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org> no 2017-11-05
no-symbolic.patch no-symbolic Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org> no 2017-11-05
pic.patch pic Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org> no 2017-11-05
c_rehash-compat.patch also create old hash for compatibility Ludwig Nussel <ludwig.nussel@suse.de> no 2010-04-21
Configure-allow-to-enable-ktls-if-target-does-not-start-w.patch Configure: allow to enable ktls if target does not start with Linux
The Debian build system uses a `debian' target which sets CFLAGS and
then we have for instance debian-amd64 which inherits from
linux-x86_64 and debian. So far so good.

Since the target name does not start with `linux', the build system does not
enable ktls. So in order to get enabled, I
added a
`enable => [ "ktls" ],'
to the generic linux config which sets it explicit). Having this set, we can
check for it instead matching the target name.

This commit is based on changes for afalgeng in commit
9e381e8a01859 ("Configure: allow to enable afalgeng if target does not start with Linux")
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2021-04-01
Remove-the-provider-section.patch Remove the provider section.
The provider section breaks libssl1.1 users. Remove it for now.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2022-06-08
conf-Serialize-allocation-free-of-ssl_names.patch conf: Serialize allocation/free of ssl_names.
The access to `ssl_names' is not fully serialized. With multiple threads
it is possible that more than one thread starts to clean up `ssl_names'.
This leads to occasional segfaults if more than one terminates and
performs the clean up.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2022-09-19
Fix-tests-for-new-default-security-level.patch Fix tests for new default security level
Fix tests that were expecting a default security level of 1 to work with
the new default of 2.

(Merged from https://github.com/openssl/openssl/pull/16760)
Matt Caswell <matt@openssl.org> no 2021-10-05
Defer-computation-of-relative-CRLDP-names.patch Defer computation of relative CRLDP names
These are derived just-in-time, during any actual CRL processing.

Fixes CVE-2026-35189
Viktor Dukhovni <viktor@openssl.org> no 2026-09-02
Guard-comparision-when-values-are-NULL.patch Guard comparision when values are NULL Norbert Pocs <norbertp@openssl.org> no 2026-08-27
Add-test-for-CVE-2026-75805.patch Add test for CVE-2026-75805 Norbert Pocs <norbertp@openssl.org> no 2026-08-27
TLS-Reject-undersized-TLS-1.2-AEAD-records-before-AEAD-pr.patch TLS: Reject undersized TLS 1.2 AEAD records before AEAD processing
In tls1_cipher() the receive path invoked EVP_CTRL_AEAD_TLS1_AAD before
checking that the record was long enough to contain the mandatory
explicit IV and authentication tag. A record shorter than that overhead
made the provider reject the impossible length, and the error path
raised SSL_AD_INTERNAL_ERROR.

Validate the record length against the explicit IV and tag length before
AEAD processing and return failure without raising an alert, leaving the
caller to react correctly: TLS reports bad_record_mac and DTLS silently
discards the record.


Fixes CVE-2026-75806
Daniel Kubec <kubec@openssl.foundation> no 2026-10-23
ec-make-ossl_ec_scalar_mul_ladder-scalar-padding-constant.patch ec: make ossl_ec_scalar_mul_ladder() scalar padding constant time
Fixes CVE-2026-54872
Igor Ustinov <igus@openssl.foundation> no 2026-07-28
sm2-make-sm2_sig_gen-constant-time.patch sm2: make sm2_sig_gen() constant time
After fixing CVE-2025-9231, sm2_sig_gen() still used variable-time
BN_mod_mul() and BN_sub() on private key and nonce material.
This commit makes it fully constant time.

Fixes CVE-2026-77696
Igor Ustinov <igus@openssl.foundation> no 2026-07-31
dtls-reset-init_off-before-retransmitting-a-message.patch dtls: reset init_off before retransmitting a message
dtls1_retransmit_message() copies a queued message's saved bytes into
s->init_buf and sets s->init_num to its length, but left s->init_off
untouched. If a different message was still mid-write (suspended on
WANT_WRITE, e.g. because the underlying BIO couldn't take any more)
when a retransmit fired, s->init_off would still hold whatever offset
that suspended write had reached - and dtls1_do_write() would resume
the retransmitted message from that stale, unrelated offset instead of
from the start.

The result is a corrupted retransmission: the message goes out
mislabelled with a bogus fragment offset/length, and its body is
whatever bytes happen to sit at that offset in the now-repurposed
init_buf - typically leftover content from the other, larger message
that was mid-write when the retransmit happened, rather than the
message actually meant to be sent.

Fix this by always resetting s->init_off to 0 before resending, so
every retransmit starts from the beginning of the message being sent,
regardless of what any other in-progress write had left behind.

dtls1_handle_timeout() also needs a guard: if write_state is anything
other than WRITE_STATE_TRANSITION, a write is still parked mid-flight
from a previous call into the state machine, so there is nothing valid
to retransmit yet. Retransmitting anyway would reconstruct an
already-sent message from the retransmit queue into
s->init_buf/s->init_off/s->init_num/s->d1->w_msg - the same fields the
parked write is still using - corrupting that write's state out from
under it. Skip retransmission in that case and let the next
SSL_read()/SSL_write()/SSL_accept()/SSL_connect() call resume the
parked write normally instead.

Add test_dtls_client_retransmit() and test_dtls_server_retransmit() to
test/dtlstest.c, covering both directions on DTLS1.2: use a
fragment-limiting BIO to suspend a large in-flight write mid-fragment,
then fire the retransmit timer several times via
DTLSv1_get_timeout()/DTLSv1_handle_timeout() while it stays parked,
verifying no retransmission is attempted and the suspended write's
state is reproduced unchanged on every timer fire, and that resuming
the write afterward completes as an ordinary handshake continuation
instead of hitting dtls1_do_write()'s entry assertion.
Ryan Hooper <ryhooper@cisco.com> no 2026-09-02

All known versions for source package 'openssl'

Links