CVE-2026-76088
PGPainless is a simple-to-use OpenPGP API based on Bouncy Castle. …
PGPainless is a simple-to-use OpenPGP API based on Bouncy Castle. Prior to 1.7.8 and from 2.0.0 until 2.0.4, pgpainless-sop/src/main/kotlin/org/pgpainless/sop/InlineDetachImpl.kt InlineDetachImpl and pgpainless-core/src/main/kotlin/org/pgpainless/decryption_verification/MessageInspector.kt MessageInspector manually descend PGPCompressedData packets without incrementing or enforcing MAX_LAYER_DEPTH. A remote unauthenticated attacker can supply an untrusted OpenPGP message containing deeply nested compressed packet structures to a downstream application using inline-detach or message inspection, bypass the intended 16-layer limit, and force continued decompression and packet processing. The resulting resource consumption can block processing threads, exhaust heap memory, and crash the consuming application. This issue is fixed in versions 1.7.8 and 2.0.4.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pgpainless/pgpainless/commit/7662f084595945f1000f3f2e1bc4e15302194dec
- github.com/pgpainless/pgpainless/commit/94572773f62e313ae905c48314de44efcf82420e
- github.com/pgpainless/pgpainless/releases/tag/1.7.8
- github.com/pgpainless/pgpainless/releases/tag/2.0.4
- github.com/pgpainless/pgpainless/security/advisories/GHSA-cvx8-9ff6-54xq
- nvd.nist.gov/vuln/detail/CVE-2026-76088
- github.com/advisories/GHSA-cvx8-9ff6-54xq
- nvd.nist.gov/vuln/detail/CVE-2026-76088
- cve.org/CVERecord?id=CVE-2026-76088
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.