Skip to main content
← All vulnerabilities
CVE-2026-41677GHSA-XMGF-HQ76-4VX2

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.10.78
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • rust-openssl rust-openssl

    From 0.9.0 · fixed in 0.10.78

  • opensslcrates.io

    From 0.9.0 · fixed in 0.10.78

References 1

GitHub · rust-openssl/rust-openssl