CVE-2026-76088
PGPainless: Unbounded Compressed Packet Descent in inline-detach and MessageInspector leads to Denial of Service (DoS)
- CVSS
- 7.5
- EPSS
- 0.72% (p55)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-19
- Product
- pgpainless pgpainless
- Aliases
- GHSA-cvx8-9ff6-54xq
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Fixed in
1.7.8 · 2.0.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| 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 |
| Maven | org.pgpainless:pgpainless-core | >=0, <1.7.8 | 1.7.8 |
| Maven | org.pgpainless:pgpainless-core | >=2.0.0, <2.0.4 | 2.0.4 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 16d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://github.com/pgpainless/pgpainless/security/advisories/GHSA-cvx8-9ff6-54xq x_refsource_CONFIRM
- https://github.com/pgpainless/pgpainless/commit/7662f084595945f1000f3f2e1bc4e15302194dec x_refsource_MISC
- https://github.com/pgpainless/pgpainless/commit/94572773f62e313ae905c48314de44efcf82420e x_refsource_MISC
- https://github.com/pgpainless/pgpainless/releases/tag/1.7.8 x_refsource_MISC
- https://github.com/pgpainless/pgpainless/releases/tag/2.0.4 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76088.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-76088 advisory
- https://github.com/advisories/GHSA-cvx8-9ff6-54xq other
- https://github.com/pgpainless/pgpainless package