Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAdvisoriesAdvisory

GHSA-hppc-g8h3-xhp3

rust-openssl: Unchecked callback length in PSK/cookie trampolines leaks adjacent memory to peer

In short

What to know.

Package
  • openssl crates.iofrom 0.9.24 before 0.10.78
What to do
Upgrade openssl to 0.10.78 or later.
Source's rating
HighNoumen has not assessed it.
Noumen finding
NMN-2026-0121Candidate. Severity high, confidence high.

3 December 2026

Source

  1. OSV record GHSA-hppc-g8h3-xhp3osv.devRetrieved 3 December 2026

Full record

Identifier
GHSA-hppc-g8h3-xhp3
Aliases
CVE-2026-41898, RUSTSEC-2026-0478
Severity
High, as rated by the source. Noumen has not assessed it.
CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
Fixed versions
0.10.78
Published
22 April 2026
Modified
10 November 2026
Source
OSV record GHSA-hppc-g8h3-xhp3, retrieved 3 December 2026, 00:00 UTC

Affected packages and ranges

Affected packages
PackageAffected versionsFixed in
openssl
crates.io
from 0.9.24 before 0.10.780.10.78

Affected means inside a published range, not that the code path is reachable in your project.

Details, as published by the source
As published by the source
The FFI trampolines behind `SslContextBuilder::set_psk_client_callback`, `set_psk_server_callback`, `set_cookie_generate_cb`, and `set_stateless_cookie_generate_cb` forwarded the user closure's returned usize directly to OpenSSL without checking it against the `&mut [u8]` that was handed to the closure. This can lead to buffer overflows and other unintended consequences.