What’s Vulnerable › Vulnerabilities
CVE-2026-59646: DTLS handshake reassembler allocates buffer from unchecked 24-bit length
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-03 · updated 2026-08-28
- Weakness: CWE-789
Description
In Bouncy Castle for Java before 1.85, DTLS handshake reassembler allocates buffer from unchecked 24-bit length. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).
Affected products
- Legion of the Bouncy Castle Inc. BC-JAVA: before 1.85 — fixed in 1.85
- Bouncycastle Bctls-Fips: before 1.0.24; from 2.0.19 before 2.0.24; from 2.1.20 before 2.1.24 — fixed in 1.0.24, 2.0.24, 2.1.24
- Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS: through 2.73.11
How to fix
Upgrade to a fixed version: Legion of the Bouncy Castle Inc. BC-JAVA 1.85; Bouncycastle Bctls-Fips 1.0.24, 2.0.24, 2.1.24. Check the vendor advisory for mitigations.
References
- https://github.com/bcgit/bc-java/commit/2d98721e71bbd822ffa0f84e088eea645cf679fa
- https://github.com/bcgit/bc-java/commit/2ea38942c7917f6d7ab4de93d8a5336d021df0d9
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059646
Get alerted when CVE-2026-59646 or the next vulnerability affects your stack