bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption
87
CVE Score
High
Uncontrolled Resource Consumption
Bouncy Castle's OpenPGP user-attribute subpacket parser sizes its buffer from the declared subpacket length before reading the data, bounded only by the JVM heap. A crafted certificate or key with an oversized user-attribute subpacket forces an excessive up-front allocation. This can trigger an out-of-memory condition and crash or freeze the application. The fix bounds the subpacket length before allocation.
Upgrade the org.bouncycastle:bcpg-jdk18on 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 or keys containing user-attribute subpackets taken from untrusted input.
0.0.1 - 1.84
Fixed in 1.85bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption 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.