Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-12194

MEDIUM 5.9EPSS 8%

Bouncy Castle Vulnerable to Uncontrolled Resource Consumption

Also known as GHSA-jv6h-4262-q663

Mitigation

  • Upgrade org.bouncycastle:bc-fips to 2.1.2 or later.
  • Upgrade org.bouncycastle:bcprov-debug-lts8on to 2.73.8 or later.

Who should check

  • Projects that depend on Maven package org.bouncycastle:bc-fips (>= 2.1.0, < 2.1.2)
  • Projects that depend on Maven package org.bouncycastle:bcprov-debug-lts8on (>= 2.73.0, < 2.73.8)
  • Anyone running Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS >= 2.1.0, <= 2.1.1
  • Anyone running Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS >= 2.73.0, <= 2.73.7

Vulnerability facts

Affected
org.bouncycastle:bc-fips >= 2.1.0, < 2.1.2; org.bouncycastle:bcprov-debug-lts8on >= 2.73.0, < 2.73.8
Fixed in
2.1.2, 2.73.8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.9 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:P/AU:N/R:U/V:C/RE:M/U:AmberOpen in CVSS calculator
Show all 17 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • S: P
  • AU: N
  • R: U
  • V: C
  • RE: M
  • U: Amber
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-400
Published
Modified

Description

Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS bc-fips on All (API modules), Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS bcprov-lts8on on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCFB.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeGCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/SHA256NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeEngine.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCBC.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCTR.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCFB.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeGCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeEngine.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCBC.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeGCMSIV.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCTR.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA256NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA224NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA3NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHAKENativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA512NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA384NativeDigest.Java. This issue affects Bouncy Castle for Java FIPS: from 2.1.0 through 2.1.1; Bouncy Castle for Java LTS: from 2.73.0 through 2.73.7.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.bouncycastle:bc-fips>= 2.1.0, < 2.1.22.1.2osv
Maven org.bouncycastle:bcprov-debug-lts8on>= 2.73.0, < 2.73.82.73.8osv
Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS>= 2.1.0, <= 2.1.1—cvelist
Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS>= 2.73.0, <= 2.73.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-12194. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-12194.md
Affected: org.bouncycastle:bc-fips >= 2.1.0, < 2.1.2; org.bouncycastle:bcprov-debug-lts8on >= 2.73.0, < 2.73.8
Fixed in: 2.1.2, 2.73.8

Steps:
1. Search this machine and project for org.bouncycastle:bc-fips (Maven), org.bouncycastle:bcprov-debug-lts8on (Maven), Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS, Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-12194 being exploited?

There is no confirmed exploitation: CVE-2025-12194 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-12194?

Medium: CVSS 5.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-12194?

org.bouncycastle:bc-fips >= 2.1.0, < 2.1.2; org.bouncycastle:bcprov-debug-lts8on >= 2.73.0, < 2.73.8.

Is there a fix for CVE-2025-12194?

Yes. Fixed in 2.1.2, 2.73.8. Upgrade org.bouncycastle:bc-fips to 2.1.2 or later. Upgrade org.bouncycastle:bcprov-debug-lts8on to 2.73.8 or later.

How do I check if I'm affected by CVE-2025-12194?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors