Memory Allocation Vulnerability in Bouncy Castle Java by the Bouncy Castle Vendor
CVE-2026-12852

8.7HIGH

What is CVE-2026-12852?

A vulnerability exists in Bouncy Castle for Java that allows an attacker to manipulate memory allocation through an opaque length parameter. This can lead to potential exploitation if the bounds of the allocation are not properly checked prior to use, allowing for unexpected behavior or crashes. It is crucial for developers to update to version 1.85 or later to mitigate this risk.

Affected Version(s)

BC-JAVA all 1.73 < 1.85

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Alex Gaynor in collaboration with Claude and Anthropic Research
.