GHSA-xv59-967r-8726

Suggest an improvement
Source
https://github.com/advisories/GHSA-xv59-967r-8726
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xv59-967r-8726/GHSA-xv59-967r-8726.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xv59-967r-8726
Aliases
Downstream
CGA (22)
MINI (9)
Published
2026-05-07T22:33:51Z
Modified
2026-07-17T21:13:34Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
rust-openssl vulnerable to heap buffer overflow when encrypting with AES key-wrap-with-padding
Details

CipherCtxRef::cipher_update, CipherCtxRef::cipher_update_vec, and symm::Crypter::update 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.

Database specific
{
    "cwe_ids":  [
        "CWE-122"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-07T22:33:51Z",
    "nvd_published_at":  "2026-05-14T21:16:47Z",
    "severity":  "MODERATE"
}
References

Affected packages

crates.io / openssl

Package

Name
openssl
View open source insights on deps.dev
Purl
pkg:cargo/openssl

Affected ranges

Type
SEMVER
Events
Introduced
0.10.0
Fixed
0.10.79

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xv59-967r-8726/GHSA-xv59-967r-8726.json"