{
  "id": "CVE-2026-41678",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41678",
  "published_at": "2026-04-24T17:18:27.28Z",
  "title": "rust-openssl: Incorrect bounds assertion in aes key wrap",
  "vendor": "rust-openssl",
  "product": "rust-openssl",
  "cvss": {
    "score": 8.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "rust-openssl provides OpenSSL bindings for the Rust programming language.  From  to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: it checks that out.len() + 8 \u003c= in_.len(), but this condition is reversed. The intended invariant is out.len() \u003e= in_.len() - 8, ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of out by in_.len() - 8 - out.len() bytes, causing an out-of-bounds write from a safe public function. This vulnerability is fixed in 0.10.78.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2,
    "nvd": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "rust-openssl",
        "product": "rust-openssl",
        "ranges": [
          "\u003e= 0.10.24, \u003c 0.10.78"
        ],
        "fixed_in": [
          "0.10.78"
        ]
      }
    ],
    "upgrade": [
      "Upgrade rust-openssl to 0.10.78 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-8c75-8mhr-p7r9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
