CVE-2026-76088

GHSA-cvx8-9ff6-54xq · published 18 Nov 2026 · updated 19 Nov 2026

PGPainless: Unbounded Compressed Packet Descent in inline-detach and MessageInspector leads to Denial of Service (DoS)

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in org.pgpainless:pgpainless-core 1.7.8 and org.pgpainless:pgpainless-core 2.0.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pgpainless<1.7.8, >=2.0.0 <2.0.4
maven: org.pgpainless:pgpainless-core<1.7.8, >=2.0.0 <2.0.41.7.8, 2.0.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-76088 severity on Zeptric[![CVE-2026-76088](https://zeptric.io/badge/cve/CVE-2026-76088.svg)](https://zeptric.io/cve/CVE-2026-76088)