HackerFeeds
All CVEs

CVE-2026-76088: PGPainless Resource Exhaustion

HIGH7.5

Published 2026-11-18 · Updated 2026-11-19 · Source security-advisories@github.com

Not known to be exploited · high severity — update PGPainless to a fixed release (1.7.8, 2.0.4) in your next patch cycle.

What to do

  1. Update PGPainless to a fixed release: 1.7.8 or 2.0.4 (whichever matches your release branch).
  2. Until it is patched, do not leave PGPainless reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Apply rate limits and request-size limits in front of the affected service.

Affected and fixed versions

ProductAffectedFixed in
PGPainlessReleases before the fixed versions1.7.8 or 2.0.4 (whichever matches your release branch)

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.

CVSS 3.1 metrics for CVE-2026-76088
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: Resource Exhaustion

An attacker can make the software consume excessive CPU, memory or other resources, causing denial of service.

Classified as CWE-400.

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.

Advisory text as published in the NVD record.

View on NVD