# GHSA-8h58-w33p-wq3g: rPGP affected by crash in message handling for deeply nested messages

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-02-13T20:54:27.000Z
- Modified: 2026-02-13T21:12:16.391Z
- Weaknesses: CWE-121

## Description

### 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.

(As written by GitHub Advisory Database.)

## Affected

- pgp (crates.io): from 0.16.0-alpha.0 before 0.19.0

## References

- <https://github.com/rpgp/rpgp/security/advisories/GHSA-8h58-w33p-wq3g> (web)
- <https://github.com/rpgp/rpgp/pull/625> (web)
- <https://github.com/rpgp/rpgp/commit/e82f2c7494ba277d62fd372d69b2c008473bbef8> (web)
- <https://github.com/rpgp/rpgp> (package)

## Sources

- GitHub Advisory Database: [GHSA-8h58-w33p-wq3g](https://github.com/advisories/GHSA-8h58-w33p-wq3g), CC-BY-4.0, modified 2026-02-13

---

Page: https://cve.day/GHSA-8h58-w33p-wq3g · Whole record: https://cve.day/GHSA-8h58-w33p-wq3g.json · Rebuilt by cve.day 2026-11-25T22:56:42.366Z
