{"id":"UBUNTU-CVE-2015-7940","details":"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.\"","modified":"2026-01-30T01:21:15.642181Z","published":"2015-11-09T00:00:00Z","related":["USN-3727-1"],"upstream":["CVE-2015-7940"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-7940"},{"type":"REPORT","url":"https://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3727-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-7940"}],"affected":[{"package":{"name":"bouncycastle","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/bouncycastle@1.49+dfsg-2ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.49+dfsg-2ubuntu0.1"}]}],"versions":["1.48+dfsg-2","1.49+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libbcmail-java","binary_version":"1.49+dfsg-2ubuntu0.1"},{"binary_name":"libbcpg-java","binary_version":"1.49+dfsg-2ubuntu0.1"},{"binary_name":"libbcpkix-java","binary_version":"1.49+dfsg-2ubuntu0.1"},{"binary_name":"libbcprov-java","binary_version":"1.49+dfsg-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-7940.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}