[openssl/openssl] 1ad851: Avoid unlikely DANE "2 1 0" check NPE.

0 views
Skip to first unread message

Viktor Dukhovni

unread,
3:05 AM (20 hours ago) 3:05 AM
to openssl...@openssl.org
Branch: refs/heads/openssl-3.5
Home: https://github.openssl.org/openssl/openssl
Commit: 1ad851363d5b8588b0d40edcc045fd633e93f0c2
https://github.openssl.org/openssl/openssl/commit/1ad851363d5b8588b0d40edcc045fd633e93f0c2
Author: Viktor Dukhovni <vik...@openssl.org>
Date: 2026-11-24 (Tue, 24 Nov 2026)

Changed paths:
M crypto/x509/x509_vfy.c
M test/danetest.c

Log Message:
-----------
Avoid unlikely DANE "2 1 0" check NPE.

A null pointer exception may happen in a DANE-enabled TLS client when the
loaded TLSA RRset includes both:

* A TLSA RR with usage PKIX-TA(0) or PKIX-EE(1).
* A DANE-TA(2) SPKI(1) Full(0) record specifying a TA public key in full.

and the server's EE certificate is self-signed and present in the validator's
trust store (the server claims a trust anchor cert as its own certficate).

This requires that the client application actually supports both the PKIX-??
and DANE-?? TLSA usages.

Fixes CVE-2026-84786

Reviewed-by: Norbert Pocs <norb...@openssl.org>
Reviewed-by: Eugene Syromiatnikov <es...@openssl.org>
Reviewed-by: Bob Beck <be...@openssl.org>
Merge-date: Tue Nov 24 08:05:33 2026
Merged-from: https://github.com/openssl/openssl/pull/33634



To unsubscribe from these emails, change your notification settings at https://github.openssl.org/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages