All reports
Low

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

Affected versions

Version ranges need review.

Rust / Cargoopenssl
Affected versions
>=0.9.0 <0.10.78
Fixed version
0.10.78
Rust / Cargoopenssl
Affected versions
>= 0.9.0, < 0.10.78
Fixed version
0.10.78

Exploitation

CVE-2026-41677

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-21

Description

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.

Links