CentOS 9 : opencryptoki-3.27.0-1.el9

medium Nessus Plugin ID 330451

Synopsis

The remote CentOS host is missing a security update for opencryptoki.

Description

The remote CentOS Linux 9 host has packages installed that are affected by a vulnerability as referenced in the opencryptoki-3.27.0-1.el9 build changelog.

- 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: ber_decode_INTEGER, ber_decode_SEQUENCE, ber_decode_OCTET_STRING, ber_decode_BIT_STRING, and ber_decode_CHOICE. Additionally, ber_decode_INTEGER 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 C_CreateObject or C_UnwrapKey, 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. (CVE-2026-40253)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the CentOS 9 Stream opencryptoki package.

See Also

https://kojihub.stream.centos.org/koji/buildinfo?buildID=122771

Plugin Details

Severity: Medium

ID: 330451

File Name: centos9_opencryptoki-3_27_0-1_122771.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 7/28/2026

Updated: 7/28/2026

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.98

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Temporal Score: 4.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

CVSS Score Source: CVE-2026-40253

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:centos:centos:9, p-cpe:/a:centos:centos:opencryptoki-ccatok, p-cpe:/a:centos:centos:opencryptoki-devel, p-cpe:/a:centos:centos:opencryptoki-ep11tok, p-cpe:/a:centos:centos:opencryptoki-icatok, p-cpe:/a:centos:centos:opencryptoki-icsftok, p-cpe:/a:centos:centos:opencryptoki-libs, p-cpe:/a:centos:centos:opencryptoki-swtok, p-cpe:/a:centos:centos:opencryptoki

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/28/2026

Vulnerability Publication Date: 4/16/2026

Reference Information

CVE: CVE-2026-40253