BouncyCastle

The Bouncy Castle Crypto package is a C# implementation of cryptographic algorithms and protocols, it was developed by the Legion of the Bouncy Castle, a registered Australian Charity, with a little help! The Legion, and the latest goings on with this package, can be found at [http://www.bouncycastle.org](http://www.bouncycastle.org). In addition to providing basic cryptography algorithms, the package also provides support for CMS, TSP, X.509 certificate generation and a variety of other standar

1.8.9Latest, 5 Jan 2021
87MDownloads, all time
3Advisories on the latest
4Advisories, all versions
non-standardLicence

Deprecated Legacy

Known advisories

Severity Advisory Fix Published
Moderate Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation. CVE-2024-29857 No fix listed 14 May 2024
Moderate Bouncy Castle crafted signature and public key can be used to trigger an infinite loop CVE-2024-30172 No fix listed 14 May 2024
Moderate Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack") CVE-2024-30171 No fix listed 14 May 2024
Moderate Timing based private key exposure in Bouncy Castle CVE-2020-15522 Fixed in 1.8.7 13 Aug 2021

In the news

Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.