{"id":"CVE-2026-76088","summary":"PGPainless: Unbounded Compressed Packet Descent in inline-detach and MessageInspector leads to Denial of Service (DoS)","details":"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.","aliases":["GHSA-cvx8-9ff6-54xq"],"modified":"2026-11-18T22:00:18.091160192Z","published":"2026-11-18T20:47:36.838Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76088.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76088.json"},{"type":"FIX","url":"https://github.com/pgpainless/pgpainless/commit/7662f084595945f1000f3f2e1bc4e15302194dec"},{"type":"FIX","url":"https://github.com/pgpainless/pgpainless/commit/94572773f62e313ae905c48314de44efcf82420e"},{"type":"WEB","url":"https://github.com/pgpainless/pgpainless/releases/tag/1.7.8"},{"type":"WEB","url":"https://github.com/pgpainless/pgpainless/releases/tag/2.0.4"},{"type":"ADVISORY","url":"https://github.com/pgpainless/pgpainless/security/advisories/GHSA-cvx8-9ff6-54xq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76088"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pgpainless/pgpainless","events":[{"introduced":"0"},{"fixed":"bfa54f3835f55bbc9662936062f86bed64522834"},{"introduced":"6303c0d264e0edc566e974ad83eeaa1923329173"},{"fixed":"fdb0748c9ecd661518587e71fc4f5e8dda355615"},{"fixed":"7662f084595945f1000f3f2e1bc4e15302194dec"},{"fixed":"94572773f62e313ae905c48314de44efcf82420e"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.7.8"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"2.0.0"},{"fixed":"2.0.4"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"7662f084595945f1000f3f2e1bc4e15302194dec"}]},{"range":[{"fixed":"94572773f62e313ae905c48314de44efcf82420e"}],"source":"REFERENCES_COMMIT"},{"original_tag":"1.7.8","range":[{"fixed":"bfa54f3835f55bbc9662936062f86bed64522834"}],"source":"REFERENCES_TAG"},{"original_tag":"2.0.4","range":[{"fixed":"fdb0748c9ecd661518587e71fc4f5e8dda355615"}],"source":"REFERENCES_TAG"}]}}],"versions":["2.0.3","2.0.2","2.0.1","2.0.0","1.7.7","1.7.6","1.7.5","1.7.4","1.7.3","1.7.2","1.7.1","1.7.0","1.6.2","1.6.1","1.6.0","1.5.6","1.5.5","1.5.4","1.5.3","1.5.2","1.5.2-rc1","1.5.1","1.5.0","1.4.4","1.4.3","1.4.2","1.4.1","1.4.0","1.4.0-rc2","1.3.13","1.3.12","1.3.11","1.3.10","1.3.9","1.3.8","1.3.7","1.3.6","1.3.5","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0","1.2.2","1.2.1","1.2.0","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","1.0.0-rc9","1.0.0-rc8","1.0.0-rc7","1.0.0-rc6","1.0.0-rc5","1.0.0-rc4","1.0.0-rc3","1.0.0-rc2","0.2.19","0.2.18","0.2.17","0.2.16","0.2.15","0.2.14","0.2.13","0.2.12","0.2.11","0.2.10","0.2.9","0.2.8","0.2.7","0.2.6","0.2.5","0.2.4","0.2.3","0.2.2","0.2.1","0.2.0","0.2.0-alpha12","0.2.0-alpha11","0.2.0-alpha10","0.2.0-alpha9","0.2.0-alpha8","0.2.0-alpha7","0.2.0-alpha6","0.2.0-alpha5","0.2.0-alpha3","0.2.0-alpha2","0.2.0-alpha1","0.1.0","0.0.1-alpha12","0.0.1-alpha11","0.0.1-alpha10","0.0.1-alpha9","0.0.1-alpha8","0.0.1-alpha7","0.0.1-alpha6","0.0.1-alpha5","0.0.1-alpha4","0.0.1-alpha3","0.0.1-alpha2","0.0.1-alpha1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76088.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}