NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-41677: rust-opennssl has an Out-of-bounds read in PEM password callback when returning an oversized length

lowCVSS 4.0 1.7GHSA-xmgf-hq76-4vx2

The frompemcallback 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.

Published Apr 22, 2026 · Updated Apr 27, 2026

Affected packages

openssl

Ecosystem
Rust (crates.io)
Affected
>= 0.9.0, < 0.10.78
Fixed in
0.10.78
Check
cargo tree -i openssl

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries