Resource Exhaustion in PGPainless Prior to 1.7.8 and 2.0.4
CVE-2026-76088
7.5HIGH
What is CVE-2026-76088?
PGPainless, an OpenPGP API, is vulnerable due to inadequate handling of deeply nested PGPCompressedData packets in specific components. This oversight allows a remote attacker to craft malicious OpenPGP messages, which can bypass the 16-layer processing limit. Consequently, if these messages are processed, they can lead to significant resource consumption, potentially blocking processing threads and exhausting heap memory, ultimately causing the affected application to crash. To mitigate this issue, users should upgrade to PGPainless versions 1.7.8 or 2.0.4.
Affected Version(s)
pgpainless < 1.7.8 < 1.7.8
pgpainless >= 2.0.0, < 2.0.4 < 2.0.0, 2.0.4
