Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-41678

Type: advisorySource: OSV1 source record

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 <= in_.len(), but this condition is reversed. The intended invariant is out.len() >= 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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-41678

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-41678

rust-openssl

Source reference: /affected/0/package/name

Affected versions
0.10.45-1

Source reference: /affected/0/versions

0.10.57-1

Source reference: /affected/0/versions

0.10.64-1

Source reference: /affected/0/versions

0.10.68-1

Source reference: /affected/0/versions

0.10.70-1

Source reference: /affected/0/versions

0.10.72-1

Source reference: /affected/0/versions

0.10.73-1

Source reference: /affected/0/versions

0.10.78-1

Source reference: /affected/0/versions

0.10.79-1

Source reference: /affected/0/versions

0.10.81-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

rust-openssl

Source reference: /affected/1/package/name

Affected versions
0.10.72-1

Source reference: /affected/1/versions

0.10.73-1

Source reference: /affected/1/versions

0.10.78-1

Source reference: /affected/1/versions

0.10.79-1

Source reference: /affected/1/versions

0.10.81-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

rust-openssl

Source reference: /affected/2/package/name

Affected versions
0.10.72-1

Source reference: /affected/2/versions

0.10.73-1

Source reference: /affected/2/versions

Fixed versions
0.10.78-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-openssl",
      "purl": "pkg:deb/debian/rust-openssl?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.10.45-1",
      "0.10.57-1",
      "0.10.64-1",
      "0.10.68-1",
      "0.10.70-1",
      "0.10.72-1",
      "0.10.73-1",
      "0.10.78-1",
      "0.10.79-1",
      "0.10.81-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41678.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-openssl",
      "purl": "pkg:deb/debian/rust-openssl?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.10.72-1",
      "0.10.73-1",
      "0.10.78-1",
      "0.10.79-1",
      "0.10.81-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41678.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.10.78-1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-openssl",
      "purl": "pkg:deb/debian/rust-openssl?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.10.72-1",
      "0.10.73-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41678.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56453 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement