Advisory

GHSA-xmgf-hq76-4vx2

Also known as: CVE-2026-41677, RUSTSEC-2026-0479

Summary

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

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-04-22 21:20 UTC
Modified
2026-11-10 14:10 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.9.0, fixed 0.10.78 (semver)

Fixed versions

0.10.78

Fix

  • Fixed version 0.10.78
    cargo update -p openssl --precise 0.10.78

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences