# RUSTSEC-2026-0613: Argon2 string-to-key parameters are not limited by StandardPolicy

- Database: RustSec
- Published: 2026-11-27
- Modified: 2026-11-29

## Also published as

- [RUSTSEC-2026-0618](https://cve.now/RUSTSEC-2026-0618.md) (RustSec)

## Affected versions

- sequoia-openpgp (crates.io): fixed in 2.5.0

## Description

An attacker can trigger a denial of service using Argon2.  Protect against this
by extending the Policy trait to check S2K objects.  Change the StandardPolicy
to reject unreasonable Argon parameter sets by default.

## References

- https://crates.io/crates/sequoia-openpgp
- https://rustsec.org/advisories/RUSTSEC-2026-0613.html
- https://gitlab.com/sequoia-pgp/sequoia/-/blob/openpgp/v2.5.0/openpgp/NEWS

Page: https://cve.now/RUSTSEC-2026-0613

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
