本文へ移動
English version →
高 7.5

PGPainlessに遠隔から大量の処理を強いられサービス停止となる脆弱性

CVE-2026-76088 SecPulse初出

概要

PGPainlessのinline-detachとMessageInspectorに、深くネストした圧縮パケットを処理させて、メモリ枯渇やスレッドの停止を招く脆弱性が見つかりました。影響を受けるのは、org.pgpainless:pgpainless-coreの2.0.0以上2.0.4未満です。修正版の2.0.4に更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

PGPainlessのinline-detachとMessageInspectorに、深くネストした圧縮パケットを処理させて、メモリ枯渇やスレッドの停止を招く脆弱性が見つかりました。影響を受けるのは、org.pgpainless:pgpainless-coreの2.0.0以上2.0.4未満です。修正版の2.0.4に更新してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
pgpainlesspgpainless —
Mavenorg.pgpainless:pgpainless-core
2.0.4 未満→ 2.0.4

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

An architectural security boundary bypass in inline-detach and MessageInspector allows remote, unauthenticated attackers to force unbounded recursive decompression routines. By supplying a specially crafted OpenPGP message containing deeply nested compressed packet structures, an attacker can completely bypass the library's built-in DoS protections (MAX_LAYER_DEPTH = 16), leading to resource exhaustion, thread blocking, and potential Out-of-Memory (OOM) application crashes.

Details

The pg-painless core processing pipeline implements a defensive threshold constraint to prevent decompression bomb sequences (Zip Bombs) and arbitrary resource consumption:

Enforcement Location: pgpainless-main/pgpainless-core/src/main/kotlin/org/pgpainless/decryption_verification/MessageMetadata.kt

Threshold Constant: MAX_LAYER_DEPTH = 16

However, a code architecture review revealed two specific packet-walking implementations that unpack and step through PGPCompressedData packets manually, entirely failing to track or increment a layer depth index counter against the static compliance limits:

In InlineDetachImpl.kt (Line ~78-93): The logic loops over data packets via compressedData.dataStream. Because it processes the incoming data block-by-block without leveraging or passing constraints down to the guarded OpenPgpMessageInputStream tracking mechanism, it accepts infinite nesting.

In MessageInspector.kt (Line ~95): The inspector utility descends recursively do…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく