summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
authortb <>2026-06-09 12:20:34 +0000
committertb <>2026-06-09 12:20:34 +0000
commit256315fc6aeff5ec985bfee63fae84e6cafc4555 (patch)
treeeab66af56feeb7a13e946aabb054007314e50783 /src/lib/libssl
parent77ad4436cc0876666030d6cc1ca6e7be853ef788 (diff)
downloadopenbsd-256315fc6aeff5ec985bfee63fae84e6cafc4555.tar.gz
openbsd-256315fc6aeff5ec985bfee63fae84e6cafc4555.tar.bz2
openbsd-256315fc6aeff5ec985bfee63fae84e6cafc4555.zip
Avoid out-of-bounds read in CMS password-based decryption
The RFC 3211 PWRI integrity check when unwrapping the password-derived key accesses seven bytes from a heap-allocated buffer. If an (invalid) block cipher with short blocks is in use 2 * blocksize may not be sufficient room for 7 bytes. In that silly case, the function performs an OOB read. Add length check to avoid this situation From Igor Ustinov via OpenSSL.
Diffstat (limited to 'src/lib/libssl')
0 files changed, 0 insertions, 0 deletions