CVE-2026-71887

Alta (8.2)—
Planificar el parcheGravedad Alta 8.2. Sin exploit público ni explotación activa conocidos.
Gravedad8.2Alta · CVSS 4.0
Probabilidad de explotación0.09 %mayor que el 0 % de las CVE · dato del 24 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 11:00
Exploit públicoNo conocidosin código público localizado

En Bouncy Castle para Java anterior a 1.86, la API de alto nivel de OpenPGP aceptaba una firma de datos realizada por una subclave de firma cuya firma Subkey Binding no incluía una firma Primary Key Binding (certificación cruzada) incrustada, en el caso de que dicha vinculación omitiera el subpaquete Key Flags. Las secciones 5.2.1.8 y 10.1.3 del RFC 9580 exigen la firma Primary Key Binding incrustada en cualquier subclave que pueda emitir firmas; es la declaración de la propia subclave de que pertenece a la clave primaria bajo la que está vinculada.

Leer descripción completaMostrar menos

OpenPGPCertificate resolvía los indicadores de clave de la subclave de dos formas distintas. isSigningKey() pasa por getKeyFlags() y getApplyingSubpacket(), que recurre a la autofirma de clave directa o de User ID primario de la clave primaria cuando la firma de vinculación omite el subpaquete, de modo que la subclave heredaba el SIGN_DATA de la primaria y se consideraba capaz de firmar; verifyEmbeddedPrimaryKeyBinding(), que aplica el requisito, lee los subpaquetes con hash propios de la firma de vinculación, no encontraba SIGN_DATA en ellos y retornaba anticipadamente como clave no firmante sin exigir nunca la firma inversa. Por tanto, la misma subclave era capaz de firmar (de modo que sus firmas se atribuían al certificado y OpenPGPSignature.OpenPGPDocumentSignature.isValid() devolvía true) y a la vez estaba exenta de certificación cruzada, mientras que GnuPG rechaza el mismo certificado y mensaje. Un atacante solo necesita la subclave de firma pública de la víctima, que es material público: la vincula a su propia clave primaria con una firma Subkey Binding que sí puede crear, sin Key Flags y sin firma Primary Key Binding incrustada, la cual no puede crear sin la clave privada de la subclave, y a una parte que confíe y verifique uno de los mensajes realmente firmados por la víctima frente a ese certificado se le dice que la firma es válida y se le da el certificado del atacante como emisor. Como los User ID de un certificado son autodeclarados, un verificador que fije la huella digital o el ID de clave de la subclave tomando la identidad del certificado que la contiene informa de una firma real bajo una identidad elegida por el atacante. Se trata de una atribución incorrecta de una firma genuina, no de la falsificación de una nueva: no se recupera ninguna clave privada y la firma debe ser una que la subclave injertada haya realizado realmente. La API de bajo nivel PGPSignature / PGPPublicKeyRing no realiza comprobaciones de vinculación por diseño y no está afectada. Los Key Flags son una declaración sobre la clave a la que se refiere la firma que los contiene (sección 5.2.3.29 del RFC 9580), por lo que una subclave ya no los hereda de las firmas de la clave primaria aplicables a todo el certificado: una firma Subkey Binding que omite el subpaquete deja ahora a la subclave sin capacidades en lugar de con las de la primaria, lo que hace que los indicadores que consulta la comprobación de certificación cruzada sean los mismos que consulta cualquier otra decisión. Las preferencias y los demás subpaquetes que contiene una firma de clave directa se heredan como antes, y la propia clave primaria, cuyos indicadores proceden legítimamente de su propia autofirma de clave directa o de User ID, no está afectada.

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 API OpenPGP de Bouncy Castle accesible remotamente (AV:N) sin autenticación (PR:N) que permite falsificar identidad de firmante válido mediante re-vinculación maliciosa de subclaves públicas; impacto de integridad crítica (VI:H) sobre verificación de firmas digitales y cadena de co

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:P/PR:N/UI:N/VC:N/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:Amber
Debilidad (CWE)
CWE-345, CWE-347

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-71887",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-71887",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-10-05T16:04:02.766987Z"
        }
      }
    ],
    "cvssMetricV40": [
      {
        "type": "Secondary",
        "source": "91579145-5d7b-4cc5-b925-a0262ff19630",
        "cvssData": {
          "Safety": "NOT_DEFINED",
          "version": "4.0",
          "Recovery": "NOT_DEFINED",
          "baseScore": 8.2,
          "Automatable": "NOT_DEFINED",
          "attackVector": "NETWORK",
          "baseSeverity": "HIGH",
          "valueDensity": "NOT_DEFINED",
          "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/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:Amber",
          "exploitMaturity": "NOT_DEFINED",
          "providerUrgency": "AMBER",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "attackRequirements": "PRESENT",
          "privilegesRequired": "NONE",
          "subIntegrityImpact": "NONE",
          "vulnIntegrityImpact": "HIGH",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "subAvailabilityImpact": "NONE",
          "vulnAvailabilityImpact": "NONE",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "subConfidentialityImpact": "NONE",
          "vulnConfidentialityImpact": "NONE",
          "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": [
            "pg"
          ],
          "product": "BC-JAVA",
          "versions": [
            {
              "status": "affected",
              "version": "1.81",
              "lessThan": "1.86",
              "versionType": "maven"
            }
          ],
          "platforms": [
            "all"
          ],
          "packageURL": "pkg:maven/org.bouncycastle/bcpg-jdk18on",
          "packageName": "bcpg",
          "programFiles": [
            "OpenPGPCertificate"
          ],
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-10-03T09:17:05.067",
  "references": [
    {
      "url": "https://github.com/bcgit/bc-java/commit/b51452fa48ccb578fc16b8222fce9eedf92c94d6",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630"
    },
    {
      "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071887",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630"
    }
  ],
  "vulnStatus": "Awaiting Analysis",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630",
      "description": [
        {
          "lang": "en",
          "value": "CWE-345"
        },
        {
          "lang": "en",
          "value": "CWE-347"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "In Bouncy Castle for Java before 1.86, the high-level OpenPGP API accepted a data signature made by a signing subkey whose Subkey Binding signature carried no embedded Primary Key Binding (cross-certification) signature, in the case where that binding omits a Key Flags subpacket. RFC 9580 sec. 5.2.1.8 and sec. 10.1.3 require the embedded Primary Key Binding signature on any subkey that can issue signatures; it is the subkey's own statement that it belongs to the primary key it is bound under. OpenPGPCertificate resolved the subkey's key flags two different ways. isSigningKey() goes through getKeyFlags() and getApplyingSubpacket(), which falls back to the primary key's direct-key or primary User ID self-signature when the binding signature omits the subpacket, so the subkey inherited the primary's SIGN_DATA and counted as signing-capable; verifyEmbeddedPrimaryKeyBinding(), which enforces the requirement, reads the binding signature's own hashed subpackets, found no SIGN_DATA there, and returned early as a non-signing key without ever demanding the back signature. The same subkey was therefore signing-capable - so its signatures were attributed to the certificate and OpenPGPSignature.OpenPGPDocumentSignature.isValid() returned true - while being exempt from cross-certification, where GnuPG refuses the identical certificate and message. An attacker needs only the victim's public signing subkey, which is public material: they bind it to their own primary key with a Subkey Binding signature they are able to make, carrying no Key Flags and no embedded Primary Key Binding signature, which they cannot make without the subkey's private key, and a relying party verifying one of the victim's genuinely signed messages against that certificate is told the signature is valid and given the attacker's certificate as its issuer. Because a certificate's User IDs are self-asserted, a verifier that pins on the subkey's fingerprint or key ID while taking the identity from the enclosing certificate reports a real signature under an attacker-chosen identity. This is misattribution of a genuine signature rather than forgery of a new one: no private key is recovered, and the signature must be one the grafted subkey actually made. The low-level PGPSignature / PGPPublicKeyRing API performs no binding checks by design and is unaffected. Key Flags are a statement about the key the carrying signature refers to (RFC 9580 sec. 5.2.3.29), so a subkey no longer inherits them from the certificate-wide signatures of the primary key: a Subkey Binding signature that omits the subpacket now leaves the subkey with no capabilities rather than the primary's, which makes the flags the cross-certification check consults the same flags every other decision consults. Preferences and the other subpackets a direct-key signature carries are inherited as before, and the primary key itself, whose flags legitimately come from its own direct-key or User ID self-signature, is unaffected."
    }
  ],
  "lastModified": "2026-10-06T14:49:40.823",
  "sourceIdentifier": "91579145-5d7b-4cc5-b925-a0262ff19630"
}