All reports
High

rPGP affected by crash in message handling for deeply nested messages

Affected versions

Rust / Cargopgp
Affected versions
>= 0.16.0-alpha.0, < 0.19.0
Fixed version
0.19.0

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.

Links

Credits

  • invd