[openssl/openssl] cb1e16: Fix NULL dereference in v2i_AUTHORITY_KEYID()

"'Adam Tabak' via openssl-commits" <[email protected]>
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: cb1e161353deaea65fb0f5484aab06d1d76dc2d0
      https://github.com/openssl/openssl/commit/cb1e161353deaea65fb0f5484aab06d1d76dc2d0
  Author: Greensi7 <[email protected]>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M crypto/x509/v3_akid.c

  Log Message:
  -----------
  Fix NULL dereference in v2i_AUTHORITY_KEYID()

X509V3_EXT_d2i() may return NULL on malformed input
or on allocation failure. v2i_AUTHORITY_KEYID() passed
that NULL to ASN1_STRING_length_ex() causing NULL dereference.

Found by x509v3 fuzzer. Example fuzzer input:
```
[default]
subjectKeyIdentifier = DER:05:00
authorityKeyIdentifier = keyid
```

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Viktor Dukhovni <[email protected]>
MergeDate: Fri Aug  7 13:42:59 2026
(Merged from https://github.com/openssl/openssl/pull/32177)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/188d35-cb1e16%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.