[openssl/openssl] be7ac1: file_store_any2obj.c: validate blob length before ...

"'Abel Thomas' via openssl-commits" <[email protected]>
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-3.4/[email protected]>
  Branch: refs/heads/openssl-3.4
  Home:   https://github.com/openssl/openssl
  Commit: be7ac194ea65bc68f6797a703f916cd9503bec3c
      https://github.com/openssl/openssl/commit/be7ac194ea65bc68f6797a703f916cd9503bec3c
  Author: Abel Thomas <[email protected]>
  Date:   2026-08-21 (Fri, 21 Aug 2026)

  Changed paths:
    M providers/implementations/storemgmt/file_store_any2obj.c

  Log Message:
  -----------
  file_store_any2obj.c: validate blob length before allocation

Both msblob2obj_decode() and pvk2obj_decode() computed an
attacker-influenced buffer size (from `bitlen`, or from
`saltlen + keylen`) and passed it to BUF_MEM_grow() without an
upper bound.

Resolves #31684

Fixes: f40c5f2c53b9 "PROV & STORE: Make the 'file:' store loader understand more binary formats"
Fixes: 0f5493e60b9e "storemgmt: Validate msblob length before buffer allocation"
Reviewed-by: Eugene Syromiatnikov <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
Merge-date: Fri Aug 21 10:10:52 2026
Merged-from: https://github.com/openssl/openssl/pull/31704



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.4/4aa0fb-be7ac1%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.