Amenazas en vivo

Todas las CVE / Bouncycastle

CVE-2026-63569Bouncycastle Bc-csharp

Validación insuficiente en DHAgreement.CalculateAgreement en Bc-csharp

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 4.0
9.1
EPSS
—
Requiere autenticación
No
Publicada
2 oct 2026
Actualizada
28 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-20
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:4.0/AV:N/AC:L/AT:P/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

Una validación insuficiente en DHAgreement.CalculateAgreement (Diffie-Hellman de dos pasos MTI/A0) en bc-csharp antes de la versión 2.7.0 permite a un atacante en la ruta de comunicación comprometer la autenticación de clave. Un atacante puede hacer que la parte local calcule un valor acordado que ya conoce, o aprender la clave privada estática local módulo los factores pequeños de p-1. El ataque utiliza un valor efímero fuera de rango o de orden pequeño.

Ver el texto original de NVD (en inglés)

Improper input validation in DHAgreement.CalculateAgreement (MTI/A0 two-pass Diffie-Hellman) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an on-path attacker to make the local party compute an agreed value the attacker already knows, defeating the key authentication MTI/A0 is meant to provide. It also allows a malicious peer to learn the local static private key modulo the small factors of p-1, and to recover it entirely in groups with many such factors. The attack uses a crafted out-of-range or small-order ephemeral value, and works because that value is raised to the static private key without the range and subgroup-membership checks applied to DH public keys. Only applications that call DHAgreement directly are affected.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 2.7.0

Actualiza bc-csharp a la versión 2.7.0 o posterior. Solo afecta a aplicaciones que llaman DHAgreement directamente.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para Bc-csharp.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados (CPE)

FabricanteProductoVersiones
bouncycastlebc-csharp< 2.7.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.