CVE catalog

CVE-2025-8885

bouncycastle: CVE-2025-8885

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.54% · Oct 25, 2026

Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BC-FJA bc-fips on All allows Excessive Allocation. This vulnerability is associated with program files https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdenti... https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdentifier.Java . This issue affects BC Java: from 1.0 through 1.77; BC-FJA: from 1.0.0 through 1.0.2.5, from 2.0.0 through 2.0.1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbouncycastlesid1.86.2-1fixed
Debianbouncycastleforky1.86-1fixed
Debianbouncycastletrixie1.80-3fixed
Debianbouncycastlebookworm1.72-2vulnerable
Ubuntubouncycastlepro1.61-1vulnerable
Ubuntubouncycastlepro1.61-1ubuntu0.1~esm1vulnerable
Ubuntubouncycastle22.041.68-2vulnerable
Ubuntubouncycastle22.041.68-4vulnerable
Ubuntubouncycastle22.041.68-5vulnerable
Ubuntubouncycastle24.041.72-2vulnerable
Ubuntubouncycastle24.041.77-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbouncycastlesourcesid1.80-1not yet assignedNot reportedNot reported
Debianbouncycastlesourceforky1.80-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcetrixie1.80-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[bookworm] bouncycastle: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libbcjmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • [libbcmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • [libbcpg-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • [libbcpkix-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • [libbcprov-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • [libbctls-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • [libbcutil-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

[Debian 13 (Trixie)]

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      dsa · bouncycastle · debian · 13

Observed:

References