[openssl/openssl] f10e91: 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/openssl-3.5/[email protected]>
  Branch: refs/heads/openssl-3.5
  Home:   https://github.com/openssl/openssl
  Commit: f10e9176e6ac7944e55ea33ef0ac4cfb01036f4e
      https://github.com/openssl/openssl/commit/f10e9176e6ac7944e55ea33ef0ac4cfb01036f4e
  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 14:03:05 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/openssl-3.5/1c4aa2-f10e91%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.