# CVE-2026-44662: rust-openssl: Heap buffer overflow when encrypting with AES key-wrap-with-padding

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-05-04T12:00:00.000Z
- Modified: 2026-11-10T14:11:00.353Z
- Also known as: GHSA-xv59-967r-8726, RUSTSEC-2026-0476
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- rust-openssl rust-openssl: >= 0.10.0, < 0.10.79
- openssl (crates.io): from 0.10.0 before 0.10.79

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xv59-967r-8726> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44662> (advisory)
- <https://github.com/rust-openssl/rust-openssl> (package)
- <https://crates.io/crates/openssl> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0476.html> (advisory)
- <https://github.com/rust-openssl/rust-openssl/pull/2630> (web)

## Sources

- CVE List: [CVE-2026-44662](https://www.cve.org/CVERecord?id=CVE-2026-44662), CVE Terms of Use, modified 2026-05-16
- GitHub Advisory Database: [GHSA-xv59-967r-8726](https://github.com/advisories/GHSA-xv59-967r-8726), CC-BY-4.0, modified 2026-11-10
- RustSec Advisory Database: [RUSTSEC-2026-0476](https://rustsec.org/advisories/RUSTSEC-2026-0476.html), CC0-1.0, modified 2026-11-10
- NVD: [CVE-2026-44662](https://nvd.nist.gov/vuln/detail/CVE-2026-44662), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-44662 · Whole record: https://cve.day/CVE-2026-44662.json · Rebuilt by cve.day 2026-11-25T22:59:21.788Z
