CVE 1.7 LOW

rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length_CVE-2026-41677

1.7 / 10
LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

Description

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.0 to before 0.10.78, the *_from_pem_callback APIs did not validate the length returned by the user's callback. A password callback that returns a value larger than the buffer it was given can cause some versions of OpenSSL to over-read this buffer. OpenSSL 3.x is not affected by this. This vulnerability is fixed in 0.10.78.

Basic Information

ID CVE-2026-41677
Source GitHub_M
Published Apr 24, 2026 at 17:17
Modified Apr 24, 2026 at 18:02

Affected Product

Vendor rust-openssl
Product rust-openssl
Version >= 0.9.0, < 0.10.78
Affected Versions rust-openssl rust-openssl >= 0.9.0, < 0.10.78

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.