Live threats

All CVEs / bouncycastle

CVE-2024-30172bouncycastle legion-of-the-bouncy-castle-java-crytography-api

High 7.5 No auth needed

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

What happens

An issue was discovered in Bouncy Castle Java Cryptography APIs before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.

Original NVD text.

What to do

  1. Apply the vendor's security update for legion-of-the-bouncy-castle-java-crytography-api.
  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.73 < 1.78 1.78 —
Maven org.bouncycastle:bcprov-jdk15to18 ≥ 1.73 < 1.78 1.78 —
Maven org.bouncycastle:bcprov-jdk18on ≥ 1.73 < 1.78 1.78 —
Maven org.bouncycastle:bctls-jdk14 ≥ 1.73 < 1.78 1.78 —
Maven org.bouncycastle:bctls-jdk15to18 ≥ 1.73 < 1.78 1.78 —
Maven org.bouncycastle:bctls-jdk18on ≥ 1.73 < 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-m44j-cfrm-g8qc). 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.