CVE-2026-44662: Openssl Rust-openssl Vulnerable To Heap Buffer Vulnerability

MODERATE
Advisory Identifier: GHSA-xv59-967r-8726
CWE-122
Published
Advisory Summary

CVE-2026-44662 is a MODERATE rust-openssl vulnerable to heap buffer vulnerability (CWE-122: Heap-based Buffer Overflow) affecting Openssl libraries in the crates.io ecosystem. The issue involves rust-openssl vulnerable to heap buffer overflow when encrypting with aes key-wrap-with-padding. Remediation is available by upgrading affected packages to version 0.10.79.

CVE-2026-44662 at a Glance

CVE Identifier CVE-2026-44662
GHSA Identifier GHSA-xv59-967r-8726
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-122: Heap-based Buffer Overflow
Affected Product Openssl
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix CVE-2026-44662

To remediate this vulnerability, upgrade all affected Openssl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

openssl fixed: 0.10.79
Upgrade openssl to 0.10.79
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for openssl

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-44662, inspect your project dependencies for Openssl:

inspect dependencies for openssl

Analyze the terminal output to locate any version of Openssl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.79), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-122: Heap-based Buffer Overflow, where a heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). In Openssl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

`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.

CVE-2026-44662 Affected Openssl Versions

1 component(s)
Fixed Versions:
0.10.79
Product / Package Ecosystem Affected Versions Fixed Version
openssl
crates.io
≥ 0.10.0
< 0.10.79
0.10.79

References

Frequently Asked Questions

What is CVE-2026-44662?
CVE-2026-44662 is a security vulnerability in Openssl involving rust-openssl vulnerable to heap buffer overflow when encrypting with AES key-wrap-with-padding under CWE-122: Heap-based Buffer Overflow.
Which Openssl versions are affected?
Affected versions include releases prior to 0.10.79 across affected packages: openssl.
What version fixes CVE-2026-44662?
Upgrading to 0.10.79 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openssl affected?
Yes, openssl is affected in releases prior to 0.10.79. Upgrade your dependency to 0.10.79 or later.
What CWE is associated with CVE-2026-44662?
CVE-2026-44662 is classified under CWE-122: Heap-based Buffer Overflow (A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().).
How can I check crates.io dependencies for CVE-2026-44662?
Run the dependency tree command: 'inspect dependencies for openssl'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xv59-967r-8726",
  "modified" : "2026-05-15T23:46:02Z",
  "published" : "2026-05-07T22:33:51Z",
  "aliases" : [ "CVE-2026-44662" ],
  "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.\n\nThis only impacts users using AES key-wrap-with-padding ciphers.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "openssl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.10.0"
      }, {
        "fixed" : "0.10.79"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xv59-967r-8726"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44662"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rust-openssl/rust-openssl"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-122" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-07T22:33:51Z",
    "nvd_published_at" : "2026-05-14T21:16:47Z"
  }
}