CVE-2026-115837: Argon2 string-to-key parameters are not limited by StandardPolicy
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.
Other sources
An attacker can trigger a denial of service using Argon2. This is fixed in sequoia-openpgp, but requires users to switch to use SKESK::decryptwithpolicyinstead of SKESK::decrypt.
— OSV
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/sequoia-openpgpto a version that resolves this vulnerability.Fixed in 2.5.0 - Upgrade
Upgrade
rust/sqzto a version that resolves this vulnerability.Fixed in 0.2.0 - Compensating control
Use SKESK::decrypt_with_policy instead of SKESK::decrypt, with StandardPolicy checking S2K objects to reject unreasonable Argon parameter sets by default.
Event History
Frequently Asked Questions
What application change is required to receive the policy-based protection?
Callers must switch from SKESK::decrypt to SKESK::decrypt_with_policy. The fix requires this API change rather than relying on the existing decrypt call.
Does StandardPolicy now limit unsafe Argon2 string-to-key settings?
Yes. The updated StandardPolicy rejects unreasonable Argon parameter sets by default when S2K objects are checked through the policy-aware decryption path.
What can be done if updating all decryption call sites is not immediately possible?
Prioritize replacing uses of SKESK::decrypt with SKESK::decrypt_with_policy, since the described denial-of-service protection depends on using the policy-aware API.