Security mailing lists by PureSourceCode

GHSA-r6vc-97x9-63vv

not scored yet

Out-of-bounds read when decoding CKA_ALLOWED_MECHANISMS

cryptoki treated the CKA_ALLOWED_MECHANISMS ulValueLen byte count as a
CK_MECHANISM_TYPE element count. A valid nonempty attribute returned through
the safe Session::get_attributes API could cause construction of an
out-of-bounds slice and undefined behavior.

Possible consequences include a process crash or denial of service and
potential disclosure of adjacent heap words. Upgrade to the fixed patch release
for the cryptoki 0.10, 0.11, or 0.12 line.

Published
16 Sep 2026
Last modified
17 Sep 2026
Also known as
RUSTSEC-2026-0286
Sources
OSV RUSTSEC-2026-0286JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io cryptoki >= 0.0.0-0, < 0.10.1; >= 0.11.0, < 0.11.1; >= 0.12.0, < 0.12.1 0.10.1, 0.11.1, 0.12.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.