CVE-2026-71892

Media (6.9)—
Seguimiento normalGravedad Media 6.9. Sin exploit público ni explotación activa conocidos.
Gravedad6.9Media · CVSS 4.0
Probabilidad de explotación0.17 %mayor que el 7 % de las CVE · dato del 24 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 12:00
Exploit públicoNo conocidosin código público localizado

En Bouncy Castle for Java anterior a la 1.86, la validación opcional del tamaño de clave en los destinatarios de transporte de claves de CMS, org.bouncycastle.cms.jcajce.JceKeyTransRecipient.setKeySizeValidation(true), nunca se ejecutaba para un mensaje que usara la derivación de la clave de cifrado de contenido de la RFC 9709 (id-alg-cek-hkdf-sha256).

Leer descripción completaMostrar menos

La rama que debía seleccionar el algoritmo real de cifrado de contenido incluido en los parámetros del AlgorithmIdentifier de derivación de claves comparaba el array de bytes de la clave cifrada con el identificador de objeto id-alg-cek-hkdf-sha256, una comparación entre un array de bytes y un ASN1ObjectIdentifier que es falsa para cualquier entrada posible, por lo que la comprobación pasaba a una búsqueda del tamaño de clave sobre el OID del envoltorio externo. Ese OID identifica una construcción de derivación de claves en lugar de un cifrado y no tiene ningún tamaño de clave registrado, por lo que la comparación de tamaño se omitía por completo. Por tanto, un EnvelopedData o AuthEnvelopedData de transporte de claves cuya clave de cifrado de contenido transportada y derivada mediante HKDF no coincidía con el tamaño de clave del algoritmo de cifrado de contenido anunciado se aceptaba incluso con la validación habilitada explícitamente, anulando silenciosamente el único mecanismo que ofrece la API para hacer cumplir el tamaño de la clave recuperada. El destinatario ahora decide en función del OID del algoritmo del AlgorithmIdentifier de cifrado de contenido, de modo que la validación comprueba la clave recuperada frente al algoritmo interno de cifrado de contenido. Los mensajes con un tamaño de clave coincidente, los mensajes que no usan HKDF y los destinatarios que no habilitan la validación no se ven afectados. Este problema también afecta a Bouncy Castle for Java FIPS (BC-FJA) anterior a bcpkix-fips 2.0.13 (serie 2.0.X) y 2.1.13 (serie 2.1.X).

Traducción automática del texto original de NVD (en inglés).

Cronología

Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.

  1. Registro CVE publicado en NVD
  2. Última modificación del registro en NVD

Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vulnerabilidad en librería Bouncy Castle (CMS/PKIX) accesible remotamente sin autenticación. Validación de clave deshabilitada permite descifrar/manipular contenido cifrado con claves de tamaño incorrecto, comprometiendo integridad y confidencialidad de datos transportados.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Registro NVD

Estado en NVD
Pendiente de análisis
Publicada
3 oct 2026
Última modificación
6 oct 2026
Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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:Amber
Debilidad (CWE)
CWE-697

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-71892",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-71892",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-10-05T16:58:15.636238Z"
        }
      }
    ],
    "cvssMetricV40": [
      {
        "type": "Secondary",
        "source": "91579145-5d7b-4cc5-b925-a0262ff19630",
        "cvssData": {
          "Safety": "NOT_DEFINED",
          "version": "4.0",
          "Recovery": "NOT_DEFINED",
          "baseScore": 6.9,
          "Automatable": "NOT_DEFINED",
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "valueDensity": "NOT_DEFINED",
          "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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:Amber",
          "exploitMaturity": "NOT_DEFINED",
          "providerUrgency": "AMBER",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "privilegesRequired": "NONE",
          "subIntegrityImpact": "NONE",
          "vulnIntegrityImpact": "LOW",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "subAvailabilityImpact": "NONE",
          "vulnAvailabilityImpact": "NONE",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "subConfidentialityImpact": "NONE",
          "vulnConfidentialityImpact": "LOW",
          "confidentialityRequirement": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED"
        }
      }
    ]
  },
  "affected": [
    {
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630",
      "affectedData": [
        {
          "repo": "https://github.com/bcgit/bc-java",
          "vendor": "Legion of the Bouncy Castle Inc.",
          "modules": [
            "pkix"
          ],
          "product": "BC-JAVA",
          "versions": [
            {
              "status": "affected",
              "version": "1.78",
              "lessThan": "1.86",
              "versionType": "maven"
            }
          ],
          "platforms": [
            "all"
          ],
          "packageURL": "pkg:maven/org.bouncycastle/bcpkix-jdk18on",
          "packageName": "bcpkix",
          "programFiles": [
            "JceKeyTransRecipient"
          ],
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
          "defaultStatus": "unaffected"
        },
        {
          "vendor": "Legion of the Bouncy Castle Inc.",
          "product": "BC-FJA",
          "versions": [
            {
              "status": "affected",
              "version": "2.0.7",
              "lessThan": "2.0.13",
              "versionType": "maven"
            },
            {
              "status": "affected",
              "version": "2.1.0",
              "lessThan": "2.1.13",
              "versionType": "maven"
            }
          ],
          "platforms": [
            "all"
          ],
          "packageURL": "pkg:maven/org.bouncycastle/bcpkix-fips",
          "packageName": "bcpkix-fips",
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java-fips/",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-10-03T09:17:05.913",
  "references": [
    {
      "url": "https://github.com/bcgit/bc-java/commit/be0a7d925c818ef2f338bcec55178b9b6336dfc3",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630"
    },
    {
      "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071892",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630"
    }
  ],
  "vulnStatus": "Awaiting Analysis",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630",
      "description": [
        {
          "lang": "en",
          "value": "CWE-697"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "In Bouncy Castle for Java before 1.86, the opt-in key-size validation on CMS key-transport recipients, org.bouncycastle.cms.jcajce.JceKeyTransRecipient.setKeySizeValidation(true), never ran for a message using RFC 9709 content-encryption key derivation (id-alg-cek-hkdf-sha256). The branch that should have selected the actual content-encryption algorithm carried in the key derivation AlgorithmIdentifier's parameters compared the encrypted-key byte array against the id-alg-cek-hkdf-sha256 object identifier, a comparison between a byte array and an ASN1ObjectIdentifier that is false for every possible input, so the check fell through to a key-size lookup on the outer wrapper OID. That OID identifies a key-derivation construction rather than a cipher and has no registered key size, so the size comparison was skipped entirely. A key-transport EnvelopedData or AuthEnvelopedData whose transported, HKDF-derived content-encryption key did not match the key size of the advertised content-encryption algorithm was therefore accepted even with validation explicitly enabled, silently defeating the only mechanism the API offers for enforcing recovered key size. The recipient now dispatches on the content-encryption AlgorithmIdentifier's algorithm OID, so validation checks the recovered key against the inner content-encryption algorithm. Messages with a matching key size, non-HKDF messages, and recipients that do not enable validation are unaffected. This issue also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series)."
    }
  ],
  "lastModified": "2026-10-06T14:49:40.823",
  "sourceIdentifier": "91579145-5d7b-4cc5-b925-a0262ff19630"
}