Skip to content
Heist/ feed
High

OpenPGP message truncation not reported, bypassing the SEIPDv1 integrity check

Type: advisorySource: Official CVE List1 source record

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 tha

Announced Group revision 1
Original source ↗

CVE-2026-85515

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-85515

BC-JAVA

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

BC-LTS-JAVA

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

BC-FJA

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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"
  }
]
Related CVEs
CVE-2026-85515

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#8839 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement