CVE-2026-40253
CVE-2026-40253 · openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c
CVSS 6.8 · Media · EPSS 0,2% · Corrección disponible
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- opencryptokiSin corrección publicada
- opencryptoki Debian 12Sin corrección publicada
- opencryptoki Debian 13Actualiza a 3.23.0+dfsg-0.3+deb13u1
- opencryptoki Debian 14Actualiza a 3.27.0-1
- y 7 más
Comprueba la versión instalada:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="opencryptoki"'Evalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
- Publicación
- Actualización
Correcciones en distribuciones
- SUSE-SU-2026:2685-2 · SUSE Linux Enterprise Server 12 SP5-LTSS ·
- USN-8707-1 · Ubuntu 26.04 LTS ·
- USN-8686-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·
- RHSA-2026:36697 · Red Hat enterprise linux eus 10.0 ·
- RHSA-2026:36717 · Red Hat rhel eus 9.6 baseos, Red Hat rhel eus 9.6 crb ·
- SUSE-SU-2026:2757-1 · SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
- RHSA-2026:33519 · Red Hat rhel e4s 9.4 baseos ·
- SUSE-SU-2026:2685-1 · SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- SUSE-SU-2026:22293-1 · SUSE Linux Micro 6.2 ·
- SUSE-SU-2026:22365-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21059-1 · openSUSE Leap 16.0 ·
- RLSA-2026:28231 · Rocky Linux 10 ·
- RLSA-2026:28256 · Rocky Linux 9 ·
- RHSA-2026:28256 · Red Hat Enterprise Linux 9 baseos, Red Hat Enterprise Linux 9 crb ·
- RHSA-2026:28231 · Red Hat Enterprise Linux 10.2 ·
- ALSA-2026:28231 · AlmaLinux 10 ·
- ALSA-2026:28256 · AlmaLinux 9 ·
- RHSA-2026:26352 · Red Hat Enterprise Linux 8 baseos, Red Hat Enterprise Linux 8 crb ·
- RLSA-2026:26352 · Rocky Linux 8 ·
- ALSA-2026:26352 · AlmaLinux 8 ·
- SUSE-SU-2026:2355-1 · SUSE Linux Enterprise Micro 5.4 ·
- openSUSE-SU-2026:10593-1 · openSUSE Tumbleweed ·
Pila tecnológica: system
Productos y versiones afectados
opencryptoki
- Versiones
- <= 3.26.0: Afectada
Sin corrección publicada
opencryptoki Debian 12
- Versiones
- 3.23.0+dfsg-0.1
- 3.23.0+dfsg-0.2
- 3.23.0+dfsg-0.3
- 3.23.0+dfsg-0.4
- 3.27.0-1
- 3.8.1+dfsg-3.2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
opencryptoki Debian 13
- Versiones
- 3.23.0+dfsg-0.3
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.23.0+dfsg-0.3+deb13u1
Actualiza a 3.23.0+dfsg-0.3+deb13u1
opencryptoki Debian 14
- Versiones
- 3.23.0+dfsg-0.3
- 3.23.0+dfsg-0.4
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.27.0-1
Actualiza a 3.27.0-1
opencryptoki Ubuntu 16.04 LTS
- Versiones
- 2.3.1+dfsg-3ubuntu5
- 3.4.1+dfsg-1ubuntu1
- 3.4.1+dfsg-1ubuntu2
- 3.4.1+dfsg-1ubuntu3
- 3.4.1+dfsg-1ubuntu4
- 3.4.1+dfsg-1ubuntu4.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
opencryptoki Ubuntu 18.04 LTS
- Versiones
- 3.7.0+dfsg-4
- 3.8.1+dfsg-2
- 3.8.1+dfsg-3
- 3.8.2+dfsg-0ubuntu1
- 3.9.0+dfsg-0ubuntu1
- 3.9.0+dfsg-0ubuntu1.1
Todas las versiones (9)
- 3.9.0+dfsg-0ubuntu1.2
- 3.9.0+dfsg-0ubuntu1.3
- 3.9.0+dfsg-0ubuntu1.4
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
opencryptoki Ubuntu 20.04 LTS
- Versiones
- 3.11.1+dfsg-0ubuntu2
- 3.11.1+dfsg-0ubuntu3
- 3.12.1+dfsg-0ubuntu1
- 3.13.0+dfsg-0ubuntu4
- 3.13.0+dfsg-0ubuntu5
- 3.13.0+dfsg-0ubuntu5.1
Todas las versiones (7)
- 3.13.0+dfsg-0ubuntu5.2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
opencryptoki Ubuntu 22.04 LTS
- Versiones
- 3.16.0+dfsg-0ubuntu1
- 3.16.0+dfsg-0ubuntu2
- 3.16.0+dfsg-0ubuntu3
- 3.17.0+dfsg+20220202.b40982e-0ubuntu1
- 3.17.0+dfsg+20220202.b40982e-0ubuntu1.1
- 3.17.0+dfsg+20220202.b40982e-0ubuntu1.2
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
Actualiza a 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
opencryptoki Ubuntu 24.04 LTS
- Versiones
- 3.21.0+dfsg-0ubuntu1
- 3.21.0+dfsg-0ubuntu2
- 3.22.0+dfsg-0ubuntu1
- 3.23.0+dfsg-0ubuntu1
- 3.23.0+dfsg-0ubuntu2
- 3.23.0+dfsg-0ubuntu3
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.23.0+dfsg-0ubuntu3.1
Actualiza a 3.23.0+dfsg-0ubuntu3.1
opencryptoki Ubuntu 25.10
- Versiones
- 3.24.0+git20250128.0462717+dfsg-0ubuntu1
- 3.25.0+dfsg-0ubuntu1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
opencryptoki Ubuntu 26.04 LTS
- Versiones
- 3.25.0+dfsg-0ubuntu1
- 3.26.0+dfsg-0ubuntu1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.26.0+dfsg-0ubuntu1.1
Actualiza a 3.26.0+dfsg-0ubuntu1.1