GHSA-xmgf-hq76-4vx2

ghsaUSosv

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

view advisory published 2026-04-22Licence: 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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-41677UScritical9.1—
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 us…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan