Todas las CVE / Eclipse Foundation
CVE-2026-115407Eclipse Foundation
Validación insuficiente de nonce en GCM en crypto11
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Eclipse Foundation Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 4.0
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 20 nov 2026
- Actualizada
- 20 nov 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
La librería crypto11 de Eclipse Foundation en versiones <= 2.0.0-rc8 (y líneas v1 deprecadas) no valida la longitud del nonce en operaciones GCM, permitiendo nonces vacíos. Esto causa reutilización de keystream en tokens HSM como SoftHSM2, exponiendo la clave de autenticación GHASH y permitiendo falsificaciones de autenticación. Adicionalmente, el modo HSM-IV puede causar pánico o retornar datos cifrados bajo IV incorrecto.
Ver el texto original de NVD (en inglés)
In `github.com/eclipse-keypont/crypto11/v2` versions `<= 2.0.0-rc8` (and the deprecated v1 module paths `github.com/eclipse-keypont/crypto11 <= 1.6.8`, `github.com/ThalesGroup/crypto11 <= 1.7.0-rc1` and `github.com/ThalesIgnite/crypto11 <= 1.2.5`), the `cipher.AEAD` returned by `SecretKey.NewGCM()` passes whatever nonce it is given straight to `CK_GCM_PARAMS` without checking its length against `NonceSize()`, and accepts an empty nonce. On a token that accepts a zero-length GCM IV — SoftHSM2 does — every `Seal` with an empty nonce encrypts under the same IV, reusing the keystream and exposing the GHASH authentication key, which allows forgeries. Separately, `Config.UseGCMIVFromHSM` sends a NULL IV with length zero to the token unless `GCMIVFromHSMControl.SupplyIvForHSMGCMEncrypt` is also set, so the token has nowhere to write the IV it generates: a `Seal` with a non-empty nonce panics after the plaintext has already been encrypted, and a `Seal` with an empty nonce returns ciphertext under an empty IV without error. On the v1 line HSM-IV mode additionally never copies the token-generated IV back to the caller, so the caller keeps its own nonce while the data was encrypted under another one.
Qué hacer
Hay parche
Actualiza crypto11 a versión 2.0.0-rc9 o superior, o a la versión corregida de las ramas v1 deprecadas. Revisa los datos cifrados con versiones afectadas.
- Revisa si usas alguno de los productos afectados y sigue el aviso del fabricante.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- Eclipse Foundation
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.