Security mailing lists by PureSourceCode

CVE-2026-45784

MEDIUM 5.1CVSS 4.0

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

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.50 until 0.10.80, CipherCtxRef::cipher_update_inplace in openssl/src/cipher_ctx.rs 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 issue is fixed in version 0.10.80.

Published
17 Jul 2026
Last modified
10 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-131CWE-787
Also known as
GHSA-phqj-4mhp-q6mqRUSTSEC-2026-0477
Sources
NVDJSONOSV GHSA-phqj-4mhp-q6mqJSONOSV RUSTSEC-2026-0477JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sfackler openssl
cpe:2.3:a:sfackler:openssl:*:*:*:*:*:rust:*:*
>= 0.10.50, < 0.10.80 0.10.80
OSV crates.io openssl >= 0.10.50, < 0.10.80 0.10.80

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.