GitHub Advisoryadvisory · crates.io

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

HIGH Published 2026-02-13 Modified 2026-02-13 Official page ↗
Ecosystem
crates.io
Packages
pgp
Severity
High
CVSS vector
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
Weaknesses
CWE-121
Reviewed
2026-02-13

Affected packages

• crates.io pgp: >= 0.16.0-alpha.0, < 0.19.0 → fixed in 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.

Related

Weakness · CWE (1)

  • CWE-121 Stack-based Buffer Overflow weakness

References