CVE-2026-76088: PGPainless: Unbounded Compressed Packet Descent in inline-detach and MessageInspector leads to Denial of Service (DoS)
Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-cvx8-9ff6-54xq
Summary
PGPainless fails to enforce decompression layer depth limits in its inline-detach and MessageInspector modules, allowing for recursive compression bomb attacks. Engineering teams using this library must upgrade to the specified patched versions to prevent denial-of-service via resource exhaustion.
Who is affected
Affected deployments include any application, gateway, or mail client utilizing PGPainless to process untrusted OpenPGP messages or attachments. By supplying deeply nested compressed packet structures, an attacker can bypass built-in security thresholds, leading to thread blocking and Out-of-Memory application crashes.
Exploitability
The vulnerability is rated as High severity with a CVSS 3.1 score of 7.5, indicating it is remotely exploitable without authentication and requires low attack complexity. EPSS data is not yet available, and there is no record of active exploitation in CISA's Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade org.pgpainless:pgpainless-core to version 1.7.8 or later.
- If using the 2.x branch, upgrade org.pgpainless:pgpainless-core to version 2.0.4 or later.
How to check your project
- Review project dependency manifests (e.g., pom.xml or build.gradle) to confirm if the org.pgpainless:pgpainless-core artifact version falls within the vulnerable ranges (0 to 1.7.7 or 2.0.0 to 2.0.3).
- Use dependency auditing tools like 'mvn dependency:tree' or OWASP Dependency-Check to identify transitive inclusion of the affected package.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| 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 | - |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What is the primary mechanism of this vulnerability?
The library's internal packet-walking logic in InlineDetachImpl and MessageInspector fails to reference or increment the defined MAX_LAYER_DEPTH constant, effectively ignoring the 16-layer security limit.
Is this a known exploit in the wild?
No, there is currently no documentation indicating that this vulnerability is being actively exploited in the wild, and it is not listed in the CISA Known Exploited Vulnerabilities catalog.
Does this flaw allow remote code execution?
The description specifies the impact as Denial of Service (DoS) resulting from resource exhaustion and potential memory crashes; there is no mention of arbitrary code execution capabilities.
Original advisory description
References
- WEB https://github.com/pgpainless/pgpainless/security/advisories/GHSA-cvx8-9ff6-54xq
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-76088
- WEB https://github.com/pgpainless/pgpainless/commit/7662f084595945f1000f3f2e1bc4e15302194dec
- WEB https://github.com/pgpainless/pgpainless/commit/94572773f62e313ae905c48314de44efcf82420e
- PACKAGE https://github.com/pgpainless/pgpainless
- WEB https://github.com/pgpainless/pgpainless/releases/tag/1.7.8
- WEB https://github.com/pgpainless/pgpainless/releases/tag/2.0.4
Source records: GHSA-cvx8-9ff6-54xq (OSV.dev) · EPSS by FIRST, 2026-11-26.