Live threats

All CVEs / bouncycastle

CVE-2024-30171bouncycastle bouncy_castle_for_java

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
May 14, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-203
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78. Timing-based leakage may occur in RSA based handshakes because of exception processing.

Original NVD text.

What to do

  1. Apply the vendor's security update for bouncy_castle_for_java.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.bouncycastle:bcprov-jdk14 < 1.78 1.78 —
Maven org.bouncycastle:bcprov-jdk15on < 1.78 1.78 —
Maven org.bouncycastle:bcprov-jdk15to18 < 1.78 1.78 —
Maven org.bouncycastle:bcprov-jdk18on < 1.78 1.78 —
Maven org.bouncycastle:bctls-fips < 1.0.19 1.0.19 —
Maven org.bouncycastle:bctls-jdk14 < 1.78 1.78 —
Maven org.bouncycastle:bctls-jdk15to18 < 1.78 1.78 —
Maven org.bouncycastle:bctls-jdk18on < 1.78 1.78 —
NuGet BouncyCastle all no fixed version —
NuGet BouncyCastle.Cryptography < 2.3.1 2.3.1 dotnet add package BouncyCastle.Cryptography --version 2.3.1

Per OSV / GitHub Advisories (GHSA-v435-xc8x-wvr9). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.