diff options
| author | tb <> | 2026-06-09 12:20:34 +0000 |
|---|---|---|
| committer | tb <> | 2026-06-09 12:20:34 +0000 |
| commit | 256315fc6aeff5ec985bfee63fae84e6cafc4555 (patch) | |
| tree | eab66af56feeb7a13e946aabb054007314e50783 /src/lib/libssl | |
| parent | 77ad4436cc0876666030d6cc1ca6e7be853ef788 (diff) | |
| download | openbsd-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
