CVE-2026-59646

DTLS handshake reassembler allocates buffer from unchecked 24-bit length

State
Published
Severity
8.7 High
Published
Aug 3, 2026
Updated
Aug 3, 2026
Reserved
Jul 6, 2026

Read the record on cve.org

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).

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amberbcorg

Weaknesses

  • CWE-789 Memory Allocation with Excessive Size Value

Affected Products

ProductVersions
BC-JAVALegion of the Bouncy Castle Inc.
  • before 1.85Affected
BC-LTS-JAVALegion of the Bouncy Castle Inc.
  • 2.73.0 to before 2.73.12Affected
BC-FJALegion of the Bouncy Castle Inc.
  • 1.0.0 to before 1.0.24Affected
  • 2.0.0 to before 2.0.24Affected
  • 2.1.0 to before 2.1.24Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.