CVE-2026-85515

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.16 %mayor que el 5 % 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, se aceptaba un mensaje cifrado OpenPGP truncado sin notificar ningún error y, en la ruta SEIPD versión 1, sin realizar comprobación de integridad alguna. La RFC 9580 sec. 13.7 permite que una implementación libere el texto en claro de los fragmentos totalmente autenticados durante el streaming, pero le exige indicar un error claro en cuanto se detecte el truncamiento y notificar una integridad sospechosa cuando descubra texto cifrado maleable.

Leer descripción completaMostrar menos

El truncamiento se detectaba y luego se descartaba: cuando un mensaje se trunca pero el campo de longitud del paquete contenedor se deja sin cambios, BCPGInputStream.PartialInputStream lanza una EOFException por el texto cifrado ausente, y BCPGInputStream.nextPacketTag() notifica una EOFException como un final limpio del mensaje, por lo que el flujo de paquetes superior se detenía como si no quedaran paquetes. En la ruta AEAD (SEIPD versión 2 y el paquete AEAD de la versión 5), cuando el paquete de datos literales terminaba en un límite de fragmento AEAD y el consumidor leía en incrementos inferiores a un fragmento, la lectura anticipada del paquete posterior al literal desencadenaba la lectura del fragmento truncado, por lo que BcAEADUtil y JceAEADUtil nunca llegaban a la etiqueta final del mensaje de la sec. 5.13.2 que autentica la longitud total del texto en claro; el llamante recibía el texto en claro de los fragmentos totalmente autenticados, cada paquete posterior al literal se descartaba silenciosamente y no se lanzaba ninguna excepción, de modo que un mensaje firmado y cifrado se leía como uno sin firmar bien formado. Cada byte liberado por esa ruta seguía estando autenticado individualmente, lo que hace de esto una falta de error de truncamiento y no una falsificación, y es un residuo de CVE-2026-12817, que cerró el mismo resultado para un atacante que corrige la longitud del paquete externo. En la ruta SEIPD versión 1 la consecuencia era más grave: IntegrityProtectedInputStream verifica el código de detección de modificaciones desde close(), y solo llegaba a close() cerrándose a sí mismo cuando una lectura devolvía -1, algo que un mensaje truncado nunca produce, por lo que PGPEncryptedData.verify() nunca se ejecutaba y al destinatario se le entregaba texto en claro descifrado en CFB sobre el que no se había realizado ninguna comprobación de integridad de ningún tipo. Medido sobre un mensaje truncado con esa forma, 136 modificaciones distintas de un solo byte del texto cifrado produjeron texto en claro alterado y aceptado sin que se lanzara ninguna excepción. La alcanzabilidad es una propiedad del mensaje y no de una entrada proporcionada por el atacante: la forma AEAD se daba en 3 de 131 longitudes de carga útil consecutivas medidas, y la forma SEIPD versión 1 en una de cada dieciséis longitudes de carga útil, con un desplazamiento de truncamiento que no variaba con la longitud de la carga útil. La API de bajo nivel no se ve afectada, ya que un llamante que invoca PGPEncryptedData.verify() directamente obtiene la comprobación en cualquier caso, como tampoco los consumidores que leen en incrementos de un fragmento AEAD completo o más. Los flujos de descifrado AEAD ahora vuelven a lanzar dicha EOFException como una IOException simple, que nextPacketTag() no blanquea; OpenPGPMessageInputStream.close() ahora cierra por sí mismo el flujo con protección de integridad de su capa en lugar de depender de que ese flujo haya visto el final de sus datos; y IntegrityProtectedInputStream.close() se ha hecho idempotente, como exige java.io.Closeable, algo de lo que depende lo anterior, ya que el flujo se cierra realmente dos veces en la ruta ordinaria y PGPEncryptedData.verify() consume el estado del resumen que hay detrás y no puede ejecutarse una segunda vez. Este problema también afecta a Bouncy Castle for Java LTS anterior a la 2.73.13, solo en la ruta AEAD, ya que esa edición no incluye la API OpenPGP de alto nivel por la que pasa la ruta SEIPDv1. También afecta a Bouncy Castle for Java FIPS (BC-FJA) anterior a bcpg-fips 1.0.14 (serie 1.0.X), 2.0.14.1 (serie 2.0.X) y 2.1.14 (serie 2.1.X), solo en la ruta AEAD, ya que esas ediciones no incluyen la API OpenPGP de alto nivel.

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 OpenPGP (AV:N, PR:N, UI:N) que permite manipular mensajes cifrados truncados sin detección: el atacante puede modificar ciphertext en versión SEIPD v1 sin verificación de integridad (136 variantes de 1 byte aceptadas), o leer plaintext íntegro en ruta AEAD sin excepciones.

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-354

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-85515",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-85515",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-10-05T18:03:26.858540Z"
        }
      }
    ],
    "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.74",
              "lessThan": "1.86",
              "versionType": "maven"
            }
          ],
          "platforms": [
            "all"
          ],
          "packageURL": "pkg:maven/org.bouncycastle/bcpg-jdk18on",
          "packageName": "bcpg",
          "programFiles": [
            "BcAEADUtil",
            "JceAEADUtil",
            "IntegrityProtectedInputStream",
            "OpenPGPMessageInputStream"
          ],
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://github.com/bcgit/bc-lts-java",
          "vendor": "Legion of the Bouncy Castle Inc.",
          "modules": [
            "pg"
          ],
          "product": "BC-LTS-JAVA",
          "versions": [
            {
              "status": "affected",
              "version": "2.73.0",
              "lessThan": "2.73.13",
              "versionType": "maven"
            }
          ],
          "platforms": [
            "all"
          ],
          "packageURL": "pkg:maven/org.bouncycastle/bcpg-lts8on",
          "packageName": "bcpg-lts8on",
          "programFiles": [
            "BcAEADUtil",
            "JceAEADUtil"
          ],
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java-lts/",
          "defaultStatus": "unaffected"
        },
        {
          "vendor": "Legion of the Bouncy Castle Inc.",
          "product": "BC-FJA",
          "versions": [
            {
              "status": "affected",
              "version": "1.0.7",
              "lessThan": "1.0.14",
              "versionType": "maven"
            },
            {
              "status": "affected",
              "version": "2.0.7",
              "lessThan": "2.0.14.1",
              "versionType": "maven"
            },
            {
              "status": "affected",
              "version": "2.1.0",
              "lessThan": "2.1.14",
              "versionType": "maven"
            }
          ],
          "platforms": [
            "all"
          ],
          "packageURL": "pkg:maven/org.bouncycastle/bcpg-fips",
          "packageName": "bcpg-fips",
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java-fips/",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-10-03T09:17:06.073",
  "references": [
    {
      "url": "https://github.com/bcgit/bc-java/commit/ab7a235d1c20e3da28ce77167a96b5c14025efa7",
      "source": "91579145-5d7b-4cc5-b925-a0262ff19630"
    },
    {
      "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9085515",
      "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-354"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "In Bouncy Castle for Java before 1.86, a truncated OpenPGP encrypted message was accepted with no error reported, and on the SEIPD version 1 path with no integrity check performed at all. RFC 9580 sec. 13.7 permits an implementation to release the cleartext of the fully authenticated chunks when streaming but requires it to indicate a clear error as soon as the truncation is detected, and to report suspect integrity when it discovers malleable ciphertext. The truncation was detected and then discarded: when a message is truncated but the length field of the enclosing packet is left unchanged, BCPGInputStream.PartialInputStream raises an EOFException for the missing ciphertext, and BCPGInputStream.nextPacketTag() reports an EOFException as a clean end of message, so the packet stream above it stopped as though no packets remained. On the AEAD path (SEIPD version 2 and the version 5 AEAD packet), when the literal data packet ended on an AEAD chunk boundary and the consumer read in increments smaller than one chunk, the look-ahead for the packet after the literal triggered the truncated chunk read, so BcAEADUtil and JceAEADUtil never reached the trailing message tag of sec. 5.13.2 that authenticates the total plaintext length; the caller received the plaintext of the fully authenticated chunks, every packet following the literal was silently dropped, and no exception was raised, so a signed and encrypted message read back as a well-formed unsigned one. Every byte released on that path remained individually authenticated, making this a missing truncation error rather than a forgery, and it is a residual of CVE-2026-12817, which closed the same outcome for an attacker who corrects the outer packet length. On the SEIPD version 1 path the consequence was more serious: IntegrityProtectedInputStream verifies the modification detection code from close(), and reached close() only by closing itself when a read of it returned -1, which a truncated message never produces, so PGPEncryptedData.verify() never ran and the recipient was handed CFB-decrypted plaintext on which no integrity check of any kind had been performed. Measured on a message truncated into that shape, 136 distinct single-byte modifications of the ciphertext produced accepted, altered plaintext with no exception raised. Reachability is a property of the message rather than of attacker-supplied input: the AEAD shape held for 3 of 131 consecutive payload lengths measured, and the SEIPD version 1 shape for one payload length in sixteen, at a truncation offset that did not move with the payload length. The low-level API is unaffected, a caller that invokes PGPEncryptedData.verify() directly getting the check regardless, as are consumers reading in increments of a whole AEAD chunk or more. The AEAD decryption streams now re-throw such an EOFException as a plain IOException, which nextPacketTag() does not launder; OpenPGPMessageInputStream.close() now closes its layer's integrity-protected stream itself rather than relying on that stream having seen the end of its data; and IntegrityProtectedInputStream.close() was made idempotent, as java.io.Closeable requires, which that depends on, since the stream is genuinely closed twice on the ordinary path and PGPEncryptedData.verify() consumes the digest state behind it and cannot be run a second time. This issue also affects Bouncy Castle for Java LTS before 2.73.13, on the AEAD route only, as that edition does not ship the high-level OpenPGP API the SEIPDv1 route runs through. It also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.14 (1.0.X series), 2.0.14.1 (2.0.X series) and 2.1.14 (2.1.X series), on the AEAD route only, as those editions do not ship the high-level OpenPGP API."
    }
  ],
  "lastModified": "2026-10-06T14:49:40.823",
  "sourceIdentifier": "91579145-5d7b-4cc5-b925-a0262ff19630"
}