Skip to content
OpenAdvisories
Medium CVE-2015-7940 EUVD-2018-0502GHSA-4mv7-cq75-3qjm

Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

Published Nov 9, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

The Bouncy Castle Java library before 1.51 does not validate a point is withing the elliptic curve, which makes it easier for remote attackers to obtain private keys via a series of crafted elliptic curve Diffie Hellman (ECDH) key exchanges, aka an "invalid curve attack."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bouncycastle 1.51-1 —
Debian 13 bouncycastle 1.51-1 —
Debian 12 bouncycastle 1.51-1 —
Debian 8 bouncycastle 1.49+dfsg-3+deb8u1 DSA-3417-1
Debian 7 bouncycastle 1.44+dfsg-3.1+deb7u1 DSA-3417-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 bouncycastle 1.44+dfsg-2+deb6u1 DLA-361-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS bouncycastle 1.49+dfsg-2ubuntu0.1 USN-3727-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bouncycastle 1.54-1.2 openSUSE-SU-2024:10486-1

Affected packages

Advisories 6

References