p PatchFirst

CVE-2026-76088

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

CVSS 7.5 · High · EPSS 0.8%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pgpainless"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • pgpainless

    Versions
    • < 1.7.8: Affected
    • >= 2.0.0, < 2.0.4: Affected

    No fix published

  • pgpainless Debian 12

    Versions
    • 1.3.16-1
    • 1.3.16-2
    • 1.6.4-1
    • 1.6.5-1
    • 1.6.6-1
    • 1.6.6-2
    All versions (12)
    • 1.6.7-1
    • 1.6.7-2
    • 1.6.8-1
    • 1.6.9-1
    • 1.6.9-2
    • 1.6.9-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pgpainless Debian 13

    Versions
    • 1.6.9-1
    • 1.6.9-2
    • 1.6.9-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pgpainless Ubuntu 24.04 LTS

    Versions
    • 1.3.16-1
    • 1.3.16-1ubuntu1
    • 1.6.6-1
    • 1.6.6-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →