Back to CVE records
High 8.3Published Apr 24, 2026

CVE-2026-41898rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer

Updated under an hour ago ()

Does this affect you?

It affects rust-openssl and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, 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. This vulnerability is fixed in 0.10.78.

CVSS
8.3 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-126, CWE-130
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Apr 24, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
rust-openssl rust-openssl
rust_openssl:rust_openssl (from the name)
from 0.9.24, < 0.10.78
CNA record
rust-openssl_project rust-openssl
rust-openssl_project:rust-openssl
from 0.9.24 before 0.10.78
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.