bcpg-jdk15to18 is vulnerable to Denial of Service (DoS)
87
CVE Score
High
Denial of Service (DoS)
The OpenPGP user-attribute subpacket reader in UserAttributeSubpacketInputStream sizes the subpacket body buffer directly from the wire length header. During packet parsing the available-bytes guard returns a value close to the JVM heap size instead of the bytes actually present, potentially leading to memory exhaustion. The fix rejects any subpacket body length above a fixed 2 MiB cap before allocating.
Upgrade the org.bouncycastle:bcpg-jdk15to18 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application parses OpenPGP certificates, keys, or messages that can originate from untrusted sources.
0.0.1 - 1.84
Fixed in 1.85bcpg-jdk15to18 is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.84.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.