p PatchFirst

CVE-2026-53939

CVE-2026-53939 · OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption

CVSS 9.1 · Crítica · EPSS 0,3% · 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.

  • cjoseSin corrección publicada
  • cjose Debian 12Actualiza a 0.6.2.1-1+deb12u2
  • cjose Debian 13Actualiza a 0.6.2.3-1+deb13u1
  • cjose Debian 14Actualiza a 0.6.2.7-1
  • y 6 más

Comprueba la versión instalada:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="cjose"'

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 | sh
Comprobar tu servidor gratis →

Los 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.

OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`, use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).

Publicación
Actualización

Correcciones en distribuciones

  • RLSA-2026:103380 · Rocky Linux 9 ·
  • RHSA-2026:103380 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
  • ALSA-2026:103380 · AlmaLinux 9 ·
  • RHSA-2026:98074 · Red Hat Enterprise Linux 10.3 ·
  • RHSA-2026:92155 · Red Hat rhel e4s 9.4 appstream ·
  • RHSA-2026:92156 · Red Hat rhel e4s 9.2 appstream ·
  • RHSA-2026:92157 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2026:92158 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel tus 8.8 appstream ·
  • RHSA-2026:92159 · Red Hat rhel aus 8.6 appstream, Red Hat rhel eus long life 8.6 appstream ·
  • RHSA-2026:92160 · Red Hat rhel aus 8.4 appstream, Red Hat rhel eus long life 8.4 appstream ·
  • RHSA-2026:92145 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
  • RHSA-2026:92154 · Red Hat rhel eus 9.6 appstream, Red Hat rhel eus 9.6 crb ·
  • RLSA-2026:98074 · Rocky Linux 10 ·
  • ALSA-2026:98074 · AlmaLinux 10 ·
  • DLA-4887-1 · Debian 12 ·
  • RLSA-2026:92145 · Rocky Linux 9 ·
  • RLSA-2026:92157 · Rocky Linux 8 ·
  • ALSA-2026:92157 · AlmaLinux 8 ·
  • ALSA-2026:92145 · AlmaLinux 9 ·
  • RHSA-2026:83224 · Red Hat enterprise linux eus 10.0 ·
  • RHSA-2026:80605 · Red Hat Enterprise Linux 10.2 ·
  • RLSA-2026:80605 · Rocky Linux 10 ·
  • ALSA-2026:80605 · AlmaLinux 10 ·
  • SUSE-SU-2026:23910-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:21944-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:4253-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:4251-1 · SUSE Linux Enterprise Module for Server Applications 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:4237-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • DSA-6499-1 · Debian 13 ·
  • openSUSE-SU-2026:11784-1 · openSUSE Tumbleweed ·

Pila tecnológica: system

Productos y versiones afectados

  • cjose

    Versiones
    • >= 0.6.1, < 0.6.2.6: Afectada

    Sin corrección publicada

  • cjose Debian 12

    Versiones
    • 0.6.2.1-1
    • 0.6.2.1-1+deb12u1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 0.6.2.1-1+deb12u2

    Actualiza a 0.6.2.1-1+deb12u2

  • cjose Debian 13

    Versiones
    • 0.6.2.3-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 0.6.2.3-1+deb13u1

    Actualiza a 0.6.2.3-1+deb13u1

  • cjose Debian 14

    Versiones
    • 0.6.2.3-1
    • 0.6.2.4-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 0.6.2.7-1

    Actualiza a 0.6.2.7-1

  • cjose Ubuntu Pro 18.04 LTS

    Versiones
    • 0.4.1-3ubuntu1
    • 0.5.1+dfsg1-1
    • 0.5.1+dfsg1-2
    • 0.5.1+dfsg1-2build1
    • 0.6.0+dfsg1-1
    • 0.6.0+dfsg1-1ubuntu0.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • cjose Ubuntu 20.04 LTS

    Versiones
    • 0.6.1+dfsg1-1
    • 0.6.1+dfsg1-1ubuntu0.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • cjose Ubuntu 22.04 LTS

    Versiones
    • 0.6.1+dfsg1-1
    • 0.6.1+dfsg1-3
    • 0.6.1+dfsg1-3ubuntu1
    • 0.6.1+dfsg1-3ubuntu1.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • cjose Ubuntu 24.04 LTS

    Versiones
    • 0.6.2.2-1
    • 0.6.2.2-1build1
    • 0.6.2.2-1build2
    • 0.6.2.2-1build3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • cjose Ubuntu 26.10

    Versiones
    • 0.6.2.4-1
    • 0.6.2.8-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • cjose Ubuntu 26.04 LTS

    Versiones
    • 0.6.2.3-1
    • 0.6.2.4-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →