Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAdvisoriesAdvisory

GHSA-phqj-4mhp-q6mq

rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers

In short

What to know.

Package
  • openssl crates.iofrom 0.10.50 before 0.10.80
What to do
Upgrade openssl to 0.10.80 or later.
Source's rating
ModerateNoumen has not assessed it.
Noumen finding
NMN-2026-0122Candidate. Severity moderate, confidence high.

3 December 2026

Source

  1. OSV record GHSA-phqj-4mhp-q6mqosv.devRetrieved 3 December 2026

Full record

Identifier
GHSA-phqj-4mhp-q6mq
Aliases
CVE-2026-45784, RUSTSEC-2026-0477
Severity
Moderate, as rated by the source. Noumen has not assessed it.
CVSS
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Fixed versions
0.10.80
Published
19 May 2026
Modified
10 November 2026
Source
OSV record GHSA-phqj-4mhp-q6mq, retrieved 3 December 2026, 00:00 UTC

Affected packages and ranges

Affected packages
PackageAffected versionsFixed in
openssl
crates.io
from 0.10.50 before 0.10.800.10.80

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
`CipherCtxRef::cipher_update_inplace` incorrectly sized output buffers when used with AES key-wrap-with-padding ciphers (EVP_aes_{128,192,256}_wrap_pad). For a non-multiple-of-8 input, OpenSSL writes up to 7 bytes past the end of the caller's buffer or Vec, producing attacker-controllable heap corruption when the plaintext length is attacker-influenced. This only impacts users using AES key-wrap-with-padding ciphers. This method was missed in the fix for GHSA-xv59-967r-8726