Advisory

RUSTSEC-2026-0477

Also known as: CVE-2026-45784, GHSA-phqj-4mhp-q6mq

Summary

Buffer overflow with AES key wrap with padding in cipher_update_inplace

Details

CipherCtxRef::cipher_update_inplace had the same sizing error that 0.10.79 fixed in cipher_update (GHSA-xv59-967r-8726); that fix missed this method. It required room for inlen + block_size bytes, but with the AES key-wrap-with-padding ciphers OpenSSL writes up to 7 more bytes when inlen is not a multiple of 8, past the end of data.

Only users of the AES key-wrap-with-padding ciphers are affected. cipher_update_inplace was added in 0.10.50, and 0.10.80 applies the corrected size check to it.

Severity

Not rated by the source.

Dates

Published
2026-05-16 12:00 UTC
Modified
2026-11-10 14:00 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.10.50, fixed 0.10.80 (semver)

Fixed versions

0.10.80

Fix

  • Fixed version 0.10.80
    cargo update -p openssl --precise 0.10.80

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences