All reports
Medium

org.bouncycastle/bcpg-jdk15on: org.bouncycastle/bcpg-fips: Bouncy Castle for Java: Denial of Service via attacker-chosen memory in OpenPGP Argon2 S2K

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-59648

Probability of exploitation in the next 30 days: 0.42%

FIRST EPSS · 2026-11-22

Description

In Bouncy Castle for Java before 1.85, OpenPGP Argon2 S2K honours attacker-chosen memory and passes. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).

A flaw was found in Bouncy Castle for Java. The OpenPGP Argon2 S2K (Salted Key Derivation Function) implementation allows a remote attacker to influence the amount of memory and passes used during key derivation. This can lead to a denial of service (DoS) by consuming excessive system resources, making the application unavailable to legitimate users.