openssl
Affected
- introduced
0.9.0, fixed0.10.78(semver)
Fixed versions
0.10.78
Fix
- Fixed version
0.10.78cargo update -p openssl --precise 0.10.78
Advisory
Also known as: CVE-2026-41677, GHSA-xmgf-hq76-4vx2
Out-of-bounds read when a PEM password callback returns an oversized length
The *_from_pem_callback functions, such as EcKey::private_key_from_pem_callback, pass the length returned by the user's password callback to OpenSSL without checking it against the size of the buffer the callback was given. If the callback reports more bytes than the buffer holds, some OpenSSL versions read past the end of the buffer while deriving the decryption key. OpenSSL 3.x is not affected.
0.10.78 treats a returned length larger than the buffer as a failed callback.
Not rated by the source.
0.9.0, fixed 0.10.78 (semver)0.10.78
0.10.78cargo update -p openssl --precise 0.10.78Fix 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
Source: RustSec Advisory Database · CC0-1.0