REDHAT-BUG-2459076: Medium severity Opencryptoki opencryptoki vulnerability

Published Apr 16, 2026
·
Updated

openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. In versions 3.26.0 and below, the BER/DER decoding functions in the shared common library (asn1.c) accept a raw pointer but no buffer length parameter, and trust attacker-controlled BER length fields without validating them against actual buffer boundaries. All primitive decoders are affected: berdecodeINTEGER, berdecodeSEQUENCE, berdecodeOCTETSTRING, berdecodeBITSTRING, and berdecodeCHOICE. Additionally, berdecodeINTEGER can produce integer underflows when the encoded length is zero. An attacker supplying a malformed BER-encoded cryptographic object through PKCS#11 operations such as CCreateObject or CUnwrapKey, token loading from disk, or remote backend communication can trigger out-of-bounds reads. This affects all token backends (Soft, ICA, CCA, TPM, EP11, ICSF) since the vulnerable code is in the shared common library. A patch is available thorugh commit ed378f463ef73364c89feb0fc923f4dc867332a3.

Affected Software

1 affected component
Opencryptoki opencryptoki<=3.26.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade openCryptoki to a version that resolves this vulnerability.

    Patch ed378f463ef73364c89feb0fc923f4dc867332a3

Event History

Apr 16, 2026
Data Sourced
via Red Hat·11:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2459076?

The severity of REDHAT-BUG-2459076 is classified as medium with a score of 4.

2

How do I fix REDHAT-BUG-2459076?

To fix REDHAT-BUG-2459076, you should upgrade to openCryptoki version 3.26.1 or later.

3

What is the risk associated with REDHAT-BUG-2459076?

The risk associated with REDHAT-BUG-2459076 is rated at 19, indicating potential vulnerabilities related to parsing BER/DER encoded data.

4

Which versions of openCryptoki are affected by REDHAT-BUG-2459076?

Versions of openCryptoki up to and including 3.26.0 are affected by REDHAT-BUG-2459076.

5

What type of vulnerability is REDHAT-BUG-2459076?

REDHAT-BUG-2459076 involves a vulnerability in the BER/DER decoding functions that allows for potential denial of service or arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203