Vulnerability RUSTSEC-2026-0479

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
6 months ago
April 19, 2026 at 12:00 PM UTC
Out-of-bounds read when a PEM password callback returns an oversized length
>=0.9.0 <0.10.78
>=0.9.0 <0.10.78

Summary

Out-of-bounds read when a PEM password callback returns an oversized length

Details

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.

Impacted packages

Timeline

Published
6 months ago
April 19, 2026 at 12:00 PM UTC
Fixed (0.10.78)
6 months ago
April 19, 2026 at 08:02 PM UTC
Last Modified
14 hours ago
November 10, 2026 at 02:00 PM UTC