CVE-2007-6721
Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability
Also known as GHSA-m26p-m559-g5j5
Mitigation
- Upgrade bouncycastle:bcprov-jdk14 to 1.38 or later.
- Upgrade bouncycastle:bcprov-jdk15 to 1.38 or later.
- Upgrade bouncycastle:bcprov-jdk16 to 1.38 or later.
Who should check
- Projects that depend on Maven package bouncycastle:bcprov-jdk14 (< 1.38)
- Projects that depend on Maven package bouncycastle:bcprov-jdk15 (< 1.38)
- Projects that depend on Maven package bouncycastle:bcprov-jdk16 (< 1.38)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- bouncycastle:bcprov-jdk14 < 1.38; bouncycastle:bcprov-jdk15 < 1.38; bouncycastle:bcprov-jdk16 < 1.38
- Fixed in
- 1.38
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v2.0, NVD)AV:N/AC:L/Au:N/C:C/I:C/A:C
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: Complete
- Integrity impact: Complete
- Availability impact: Complete
- EPSS
- 2.41% chance of exploitation in 30 days (percentile 85, 2026-11-26)
- CWE
- CWE-203
- Modified
Description
The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in Crypto Provider Package before 1.36, has unknown impact and remote attack vectors related to "a Bleichenbacher vulnerability in simple RSA CMS signatures without signed attributes."
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven bouncycastle:bcprov-jdk14 | < 1.38 | 1.38 | osv |
| Maven bouncycastle:bcprov-jdk15 | < 1.38 | 1.38 | osv |
| Maven bouncycastle:bcprov-jdk16 | < 1.38 | 1.38 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2007-6721. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2007-6721.md Affected: bouncycastle:bcprov-jdk14 < 1.38; bouncycastle:bcprov-jdk15 < 1.38; bouncycastle:bcprov-jdk16 < 1.38 Fixed in: 1.38 Steps: 1. Search this machine and project for bouncycastle:bcprov-jdk14 (Maven), bouncycastle:bcprov-jdk15 (Maven), bouncycastle:bcprov-jdk16 (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- http://freshmeat.net/projects/bouncycastlecryptoapi/releases/265580
- http://www.osvdb.org/50358
- http://www.osvdb.org/50360
- http://www.bouncycastle.org/releasenotes.html
- http://www.osvdb.org/50359
- https://github.com/bcgit/bc-java
- https://web.archive.org/web/20071022023551/http://www.bouncycastle.org/csharp
- https://web.archive.org/web/20080316202318/http://www.bouncycastle.org:80/releasenotes.html
FAQ
Is CVE-2007-6721 being exploited?
There is no confirmed exploitation: CVE-2007-6721 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.41% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2007-6721?
Critical: CVSS 10.0 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2007-6721?
bouncycastle:bcprov-jdk14 < 1.38; bouncycastle:bcprov-jdk15 < 1.38; bouncycastle:bcprov-jdk16 < 1.38.
Is there a fix for CVE-2007-6721?
Yes. Fixed in 1.38. Upgrade bouncycastle:bcprov-jdk14 to 1.38 or later. Upgrade bouncycastle:bcprov-jdk15 to 1.38 or later. Upgrade bouncycastle:bcprov-jdk16 to 1.38 or later.
How do I check if I'm affected by CVE-2007-6721?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.