Vulnerability · Published May 9, 2024 · Assigned by mitre

CVE-2024-29857

High 7.5

In plain English

A high-severity out-of-bounds read in the bouncycastle package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.1%top 34.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12bouncycastleno fix listedDEBIAN-CVE-2024-29857
Debian:13bouncycastle1.80-1DEBIAN-CVE-2024-29857
Debian:14bouncycastle1.80-1DEBIAN-CVE-2024-29857
Mavenorg.bouncycastle:bc-fips1.0.2.5GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bcprov-jdk141.78GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bcprov-jdk15on1.78GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bcprov-jdk15to181.78GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bcprov-jdk18on1.78GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bctls-jdk141.78GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bctls-jdk15to181.78GHSA-8xfc-gm6g-vgpv
Mavenorg.bouncycastle:bctls-jdk18on1.78GHSA-8xfc-gm6g-vgpv
NuGetbouncycastleno fix listedGHSA-8xfc-gm6g-vgpv
NuGetbouncycastle.cryptography2.3.1GHSA-8xfc-gm6g-vgpv

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References