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

Not scored Published

An attacker can cause a denial of service by sending deeply nested PGP messages that trigger a stack overflow in the rPGP library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-8h58-w33p-wq3g?

GHSA-8h58-w33p-wq3g is a denial of service vulnerability in pgp, published on 13 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by GHSA-8h58-w33p-wq3g?

2 open source packages ship an affected version, including pgp.

PackageAffectedFixed in
pgp crates.ioFrom 0.16.0-alpha.00.19.0
pgp crates.ioFrom 0.16.0-alpha.00.19.0

How do I fix GHSA-8h58-w33p-wq3g?

Upgrade pgp to 0.19.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-8h58-w33p-wq3g being exploited?

There is no known exploitation of GHSA-8h58-w33p-wq3g in the wild and no public exploit code.

Sources

Is GHSA-8h58-w33p-wq3g in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free