CVE-2026-76088
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | pgpainless |
Affected | — |
| sid | pgpainless |
Affected | — |
| bookworm | pgpainless |
Affected | — |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.pgpainless:pgpainless-core | >= 2.0.0, < 2.0.4 | 2.0.4 |
| Maven | org.pgpainless:pgpainless-core | < 1.7.8 | 1.7.8 |
| Maven | org.pgpainless:pgpainless-core | <1.7.8 | 1.7.8 |
| Maven | org.pgpainless:pgpainless-core | >=2.0.0,<2.0.4 | 2.0.4 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pgpainless | pgpainless | < 1.7.8 | |
| pgpainless | pgpainless | >= 2.0.0, < 2.0.4 | |
References
- https://github.com/pgpainless/pgpainless/commit/7662f084595945f1000f3f2e1bc4e15302194dec
- https://github.com/pgpainless/pgpainless/commit/94572773f62e313ae905c48314de44efcf82420e
- https://github.com/pgpainless/pgpainless/releases/tag/1.7.8
- https://github.com/pgpainless/pgpainless/releases/tag/2.0.4
- https://github.com/pgpainless/pgpainless/security/advisories/GHSA-cvx8-9ff6-54xq
- https://nvd.nist.gov/vuln/detail/CVE-2026-76088
- https://github.com/advisories/GHSA-cvx8-9ff6-54xq
- https://github.com/pgpainless/pgpainless
- https://security-tracker.debian.org/tracker/CVE-2026-76088
CWEs
CWE-400
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.