Advisory

GHSA-8h58-w33p-wq3g

Also known as: None

Summary

rPGP affected by crash in message handling for deeply nested messages

Details

Summary
Previous rPGP versions could be caused to crash with a "stack overflow" when parsing messages that contain deeply nested message layers, such as messages with many signatures.

rPGP 0.19.0 resolves this issue with a more robust message handling implementation (via https://github.com/rpgp/rpgp/pull/625).

Impact
An attacker could cause applications to crash in rPGP's message parsing subsystem, when applications attempt to ingest messages.

Attribution
Discovered internally during rPGP development, using a fuzz test suite previously contributed by Christian Reitter.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-13 20:54 UTC
Modified
2026-02-13 21:12 UTC

Affected packages and fixes

pgp

crates.io · All systems

Affected

  • introduced 0.16.0-alpha.0, fixed 0.19.0 (semver)

Fixed versions

0.19.0

Fix

  • Fixed version 0.19.0
    cargo update -p pgp --precise 0.19.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences