PGPainless: Unbounded Compressed Packet Descent in inline-detach and MessageInspector leads to Denial of Service (DoS)
CVE-2026-76088Published 18 Nov 2026, 20:47 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| pgpainlessNiche | < 1.7.8; >= 2.0.0, < 2.0.4 | 1.7.8, 2.0.4 |
What to do
Update to a fixed version: 1.7.8, 2.0.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 18 Nov 2026 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-400
References
- https://github.com/pgpainless/pgpainless/security/advisories/GHSA-cvx8-9ff6-54xqvendor-advisory
- https://github.com/pgpainless/pgpainless/commit/7662f084595945f1000f3f2e1bc4e15302194decmisc
- https://github.com/pgpainless/pgpainless/commit/94572773f62e313ae905c48314de44efcf82420emisc
- https://github.com/pgpainless/pgpainless/releases/tag/1.7.8misc
- https://github.com/pgpainless/pgpainless/releases/tag/2.0.4misc
- CVE-2026-76088 on CVE.org