PGPainless flaw lets remote attackers trigger denial of service
- Unbounded recursive decompression
- OpenPGP message bypass
- Resource exhaustion crash
- PGPainless
- OpenPGP

A vulnerability in PGPainless allows remote attackers to trigger a denial of service by exploiting unbounded recursive decompression in its inline-detach and MessageInspector modules. The report does not specify when the vulnerability was discovered or disclosed.
The flaw affects PGPainless versions earlier than 1.7.8 and versions from 2.0.0 up to, but not including, 2.0.4. The library’s built-in limit of 16 nested compression layers can be bypassed with a specially crafted OpenPGP message containing deeply nested compressed packets.
Applications that process untrusted incoming files or signed attachments using the affected modules may face resource exhaustion, blocked threads and potential out-of-memory crashes. The issue affects downstream software, including FlowCrypt and frameworks that use PGPainless’s SOP wrapper interface or MessageInspector.
PGPainless lists versions 1.7.8 and 2.0.4 as patched.
Key terms explained
- Denial of Service
A denial-of-service attack prevents authorized users from accessing computer systems or network resources. This is often achieved by overwhelming the target with excessive traffic until it crashes or stops responding.
Think of it this way. This is like a crowd of people blocking the entrance to a store so that actual customers cannot get inside to shop.
- PGPainless
PGPainless is a software library designed to simplify the implementation of OpenPGP in Java and Android environments. It provides developers with tools for managing keys and performing cryptographic operations.




